summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-09-03 13:19:26 -0700
committerGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-09-03 13:19:26 -0700
commit1e75ceac0dbbf6a6eef1e13f076c3ae6a7af4c55 (patch)
tree151f82c3460c92f67f3bd59e30a45cbd54846247 /Makefile
parentf8e39675cccd01b4b76d88b0f9bef922fce3e8f3 (diff)
downloadsubsurface-1e75ceac0dbbf6a6eef1e13f076c3ae6a7af4c55.tar.gz
Add various dive fixups, and show pressure (if any) in the plot
Now the dive profile plot *really* needs some units. The pressure is just a random line otherwise. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6e6732e6e..b16d38c7a 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 save-xml.o
+OBJS=main.o dive.o profile.o info.o divelist.o parse-xml.o save-xml.o
divelog: $(OBJS)
$(CC) $(LDLAGS) -o divelog $(OBJS) \
@@ -14,6 +14,9 @@ parse-xml.o: parse-xml.c dive.h
save-xml.o: save-xml.c dive.h
$(CC) $(CFLAGS) -c save-xml.c
+dive.o: dive.c dive.h
+ $(CC) $(CFLAGS) -c dive.c
+
main.o: main.c dive.h display.h
$(CC) $(CFLAGS) `pkg-config --cflags gtk+-2.0` -c main.c