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