panthema / 2012 / 1119-eSAIS-Inducing-Suffix-and-LCP-Arrays-in-External-Memory / eSAIS-DC3-LCP-0.5.0 / stxxl / doc / tutorial / examples / Makefile (Download File)
all: phonebills phonebills_stl genlog

STXXL_MK ?= stxxl.mk
-include ../../../$(STXXL_MK)

CXX		 = $(STXXL_CXX)
CPPFLAGS	+= -O3
CPPFLAGS	+= -Wall
CPPFLAGS	+= $(STXXL_CPPFLAGS)


phonebills: phonebills.cpp
	$(CXX) $(CPPFLAGS) phonebills.cpp -o phonebills $(STXXL_LDLIBS) -DUSE_STXXL

phonebills_stl: phonebills.cpp
	$(CXX) $(CPPFLAGS) phonebills.cpp -o phonebills_stl $(STXXL_LDLIBS) -DNDEBUG


genlog: genlog.cpp
	$(CXX) $(CPPFLAGS) genlog.cpp -o genlog $(STXXL_LDLIBS) -DNDEBUG 


clean:
	rm -f genlog phonebills_stl phonebills *~