summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSilvan Jegen <s.jegen@gmail.com>2016-09-12 19:25:40 +0200
committerSilvan Jegen <s.jegen@gmail.com>2016-09-12 19:25:40 +0200
commit3f3d13b724e685e39f4c843719c45cabe54d7c05 (patch)
tree068dafdfbc736bb8346204d812c07e252f204aca /Makefile
parent3872213cbebfd8c923b6731cc107706bbd9ab5eb (diff)
Add sxmlc
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 57b1738..e621e95 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ CC = gcc
CFLAGS = -Wall -O2
-all: mxml ezxml yxml
+all: mxml ezxml yxml sxmlc
mxml: mxml.c
$(CC) $(CFLAGS) -lmxml -pthread -o mxml mxml.c
@@ -13,10 +13,15 @@ ezxml: ezxml.c ezxmllib.o
yxml: yxml.c yxmllib.o
$(CC) $(CFLAGS) -o yxml yxml.c yxmllib.o
+sxmlc: sxmlc.c sxmlclib.o
+ $(CC) $(CFLAGS) -o sxmlc sxmlc.c sxmlclib.o
+
ezxmllib.o: ezxmllib.c
yxmllib.o: yxmllib.c
+sxmlclib.o: sxmlclib.c
+
debug:
$(CC) $(CFLAGS) -g -lmxml -pthread -o mxml mxml.c
$(CC) $(CFLAGS) -g -o ezxml ezxml.c ezxmllib.o