X-Git-Url: https://git.llucax.com/software/bife/bife%20%20.git/blobdiff_plain/3de3fcc595200e235aadf399c64160b0bd0da7cc..9229fc52267e17a39cd9df385f120a4d0318803a:/Makefile/software/bife/bife++.git/blobdiff_plain/3de3fcc595200e235aadf399c64160b0bd0da7cc..9229fc52267e17a39cd9df385f120a4d0318803a:/Makefile diff --git a/Makefile b/Makefile index 70a59e6..fe31c00 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,18 @@ -CPPFLAGS=-g3 -all: main +LIBBIFE_DIR=libbife + +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: parser_test + +# Parser example. +parser.o: parser.h parser.cpp +parser_test.o: parser_test.cpp + +parser_test: parser.o parser_test.o + +clean: + @rm -f *.o parser_test -main: hit.o ghit.o chit.o