INCLUDES += -I/usr/include/sword -DHAVESWORD LIBS += -lsword -lz -lsword -lz #comment this out if you didn't compile sword with lucene support LIBS += -lclucene #comment these out if you didn't compile sword with ICU support LIBS += -licui18n -licuuc -licudata -lpthread -licuio all: lockosis lockosis.o: lockosis.cpp g++ -g -c ${INCLUDES} lockosis.cpp lockosis: lockosis.o g++ -g -o lockosis lockosis.o ${LIBS} ${LIBS} clean: rm lockosis lockosis.o