cd357843cb
git-subtree-dir: fbreader/fbreader git-subtree-split: 7abc80d12fab06b05ea1fe68a0e73ea5e9486463
29 lines
547 B
Makefile
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
|