summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4a86ebfd7..6e6732e6e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
CC=gcc
CFLAGS=-Wall -Wno-pointer-sign -g
-OBJS=main.o profile.o info.o divelist.o parse-xml.o
+OBJS=main.o profile.o info.o divelist.o parse-xml.o save-xml.o
divelog: $(OBJS)
$(CC) $(LDLAGS) -o divelog $(OBJS) \
@@ -11,6 +11,9 @@ divelog: $(OBJS)
parse-xml.o: parse-xml.c dive.h
$(CC) $(CFLAGS) -c `xml2-config --cflags` parse-xml.c
+save-xml.o: save-xml.c dive.h
+ $(CC) $(CFLAGS) -c save-xml.c
+
main.o: main.c dive.h display.h
$(CC) $(CFLAGS) `pkg-config --cflags gtk+-2.0` -c main.c