File indexing completed on 2024-04-06 12:03:10
0001 include Makefile.common
0002
0003 BOOST_LIB = /usr/local/lib
0004 BOOST_INC = /usr/local/include
0005
0006 OPTIMIZE = -std=c++11 -g
0007 INCLUDES = -I. -I$(BOOST_INC)
0008 CXXFLAGS = $(OPTIMIZE) $(INCLUDES) -fPIC -Wall -W -Werror
0009 LINKFLAGS = $(OPTIMIZE) -fPIC
0010
0011 LIBS = -L$(BOOST_LIB) -lboost_serialization -L/usr/lib -ldl -lm
0012
0013 BINARIES = $(PROGRAMS:.cc=)
0014
0015 all: $(BINARIES)
0016
0017 $(BINARIES): % : %.o $(OFILES); g++ $(LINKFLAGS) -o $@ $^ $(LIBS)
0018
0019 clean:
0020 rm -f $(BINARIES) core core.* *.o *.d *~
0021
0022 -include $(OFILES:.o=.d)
0023 -include $(PROGRAMS:.cc=.d)