summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSilvan Jegen <s.jegen@gmail.com>2016-09-04 20:57:18 +0200
committerSilvan Jegen <s.jegen@gmail.com>2016-09-04 20:57:18 +0200
commit5a4eeaae207a15511039992e80a3174daaead239 (patch)
tree3155c1c8ffa7fc94ced61fd0724df089f18268d3 /Makefile
parentc5ac33dcd1ec134b860049cfad235d01bde0bf3e (diff)
Add the ezxmllib for testing
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index eb82e0b..2891115 100644
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,20 @@
-all: mxml
+all: mxml ezxml
mxml: mxml.c
gcc -Wall -lmxml -pthread -o mxml mxml.c
+ezxml: ezxmllib.o
+ gcc -Wall -o ezxml ezxml.c ezxmllib.o
+
+ezxmllib.o: ezxmllib.c
+ gcc -Wall -c -o ezxmllib.o ezxmllib.c
+
debug:
gcc -Wall -g -lmxml -pthread -o mxml mxml.c
+clean:
+ rm *.o mxml ezxml
+
.PHONY:
all