harbour-books/tools/StatisticsGenerator/Makefile
Slava Monich cd357843cb Squashed 'fbreader/fbreader/' content from commit 7abc80d
git-subtree-dir: fbreader/fbreader
git-subtree-split: 7abc80d12fab06b05ea1fe68a0e73ea5e9486463
2015-05-26 23:59:24 +03:00

29 lines
547 B
Makefile

TARGETS = StatisticsGenerator PatternGenerator LanguageDetector
CFLAGS = -O0 -g
DIR= ./../../zlibrary/core/src/language
ISTATDIR= -I /usr/include/zlibrary/core -I $(DIR)
all: $(TARGETS)
.cpp.o:
gcc $(CFLAGS) $(ISTATDIR) -c -Wall $<
StatisticsGenerator: generator.o
g++ $(ISTATDIR) $^ -o $@ -lzlcore
LanguageDetector: detector.o
g++ $(ISTATDIR) $^ -o $@ -lzlcore
PatternGenerator: pattern.o
g++ $(ISTATDIR) $^ -o $@ -lzlcore
generator.o: generator.cpp
detector.o: detector.cpp
pattern.o: pattern.cpp
clean:
rm -f $(TARGETS) *.o