X-Git-Url: https://git.llucax.com/software/bife/bife%20%20.git/blobdiff_plain/8d8860f5938a20b3dbf1011b6b274291c13eeade..993710aae023efaccb75b56eee2347c340bdc71d:/Makefile/software/bife/bife++.git/blobdiff_plain/8d8860f5938a20b3dbf1011b6b274291c13eeade..993710aae023efaccb75b56eee2347c340bdc71d:/Makefile?ds=sidebyside diff --git a/Makefile b/Makefile index e03f97c..fe31c00 100644 --- a/Makefile +++ b/Makefile @@ -1,14 +1,18 @@ -CPPFLAGS=-g3 -Wall -DDEBUG -#CPPFLAGS=-O3 -Wall +LIBBIFE_DIR=libbife -TAGETS=hit.o ghit.o chit.o widget.o container.o fallback.o string.o translate.o +DEBUG=-Wall -g3 -DDEBUG +CPPFLAGS=-I/usr/include/libxml++-1.0 -I/usr/include/libxml2 $(DEBUG) +LDFLAGS=-L$(LIBBIFE_DIR) -lxml++-0.1 -ldl -lbife -all: main +all: parser_test -main: $(TAGETS) +# Parser example. +parser.o: parser.h parser.cpp +parser_test.o: parser_test.cpp -hit.o: hit.h hit.cpp +parser_test: parser.o parser_test.o clean: - @rm -f *.o main + @rm -f *.o parser_test +