]> git.llucax.com Git - software/bife/bife++.git/blobdiff - Makefile
- Normalized Fallback constructor to be the same of Widget (or Container).
[software/bife/bife++.git] / Makefile
index 402293be63ade1d57841ece34b332676154eb331..fe31c00ca47cca3ded0f1d47087b6f62f40577e1 100644 (file)
--- 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
+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:
 
 clean:
-       @rm -f *.o main
+       @rm -f *.o parser_test
+