summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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