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 b07322381..244bf3979 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
CC=gcc
CFLAGS=-Wall -Wno-pointer-sign -g
-OBJS=main.o profile.o parse.o
+OBJS=main.o profile.o divelist.o parse.o
parse: $(OBJS)
$(CC) $(LDLAGS) -o parse $(OBJS) `xml2-config --libs` \
@@ -15,3 +15,6 @@ main.o: main.c dive.h
profile.o: profile.c dive.h
$(CC) $(CFLAGS) `pkg-config --cflags gtk+-2.0` -c profile.c
+
+divelist.o: divelist.c dive.h
+ $(CC) $(CFLAGS) `pkg-config --cflags gtk+-2.0` -c divelist.c