X-Git-Url: https://git.llucax.com/software/bife/bife%20%20.git/blobdiff_plain/efa6c9315719fc0b98483abdc26341d061b4a4b4..9229fc52267e17a39cd9df385f120a4d0318803a:/Makefile/software/bife/bife++.git/blobdiff_plain/efa6c9315719fc0b98483abdc26341d061b4a4b4..9229fc52267e17a39cd9df385f120a4d0318803a:/Makefile diff --git a/Makefile b/Makefile index 09e9010..fe31c00 100644 --- a/Makefile +++ b/Makefile @@ -1,18 +1,18 @@ -CPPFLAGS=-g3 -Wall -I/usr/include/libxml++-1.0 -I/usr/include/libxml2 -DDEBUG -#CPPFLAGS=-O3 -Wall -I/usr/include/libxml++-1.0 -I/usr/include/libxml2 +LIBBIFE_DIR=libbife -LDFLAGS=-lxml++-0.1 #-lxml +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 -TAGETS=hit.o ghit.o chit.o widget.o container.o fallback.o string.o translate.o parser.o +all: parser_test -all: main +# Parser example. +parser.o: parser.h parser.cpp +parser_test.o: parser_test.cpp -main: $(TAGETS) - -parser_test: $(TAGETS) - -hit.o: hit.h hit.cpp +parser_test: parser.o parser_test.o clean: - @rm -f *.o main parser_test + @rm -f *.o parser_test +