summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 02b3943..0286bfb 100644
--- a/Makefile
+++ b/Makefile
@@ -11,12 +11,14 @@ ezxml: ezxml.c ezxmllib.o
$(CC) $(CFLAGS) -o ezxml ezxml.c ezxmllib.o
ezxmllib.o: ezxmllib.c
- $(CC) $(CFLAGS) -c -o ezxmllib.o ezxmllib.c
debug:
$(CC) $(CFLAGS) -g -lmxml -pthread -o mxml mxml.c
$(CC) $(CFLAGS) -g -o ezxml ezxml.c ezxmllib.o
+.c.o:
+ $(CC) $(CFLAGS) -c -o $@ $<
+
clean:
rm *.o mxml ezxml