diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -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 |