From d986cd307bd8e85d96624cd53828854e1bad20ae Mon Sep 17 00:00:00 2001 From: Silvan Jegen Date: Tue, 6 Sep 2016 21:26:43 +0200 Subject: Add the yxml library test program --- Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 0286bfb..57b1738 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ CC = gcc CFLAGS = -Wall -O2 -all: mxml ezxml +all: mxml ezxml yxml mxml: mxml.c $(CC) $(CFLAGS) -lmxml -pthread -o mxml mxml.c @@ -10,17 +10,23 @@ mxml: mxml.c ezxml: ezxml.c ezxmllib.o $(CC) $(CFLAGS) -o ezxml ezxml.c ezxmllib.o +yxml: yxml.c yxmllib.o + $(CC) $(CFLAGS) -o yxml yxml.c yxmllib.o + ezxmllib.o: ezxmllib.c +yxmllib.o: yxmllib.c + debug: $(CC) $(CFLAGS) -g -lmxml -pthread -o mxml mxml.c $(CC) $(CFLAGS) -g -o ezxml ezxml.c ezxmllib.o + $(CC) $(CFLAGS) -g -o yxml yxml.c yxmllib.o .c.o: $(CC) $(CFLAGS) -c -o $@ $< clean: - rm *.o mxml ezxml + rm *.o mxml ezxml yxml .PHONY: all -- cgit v1.2.3