summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-08-31 12:09:19 -0700
committerGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-08-31 12:09:19 -0700
commita11dbbdb1856a05b97e872fd732682d9bf8ef49b (patch)
treee4b5623202d41421466950ad2ab2549591548520 /Makefile
parent7017d17562fe803946ef9e0d8e9af9611bc43ba5 (diff)
downloadsubsurface-a11dbbdb1856a05b97e872fd732682d9bf8ef49b.tar.gz
Add fake 'info' frame contents
It should have depth, time, place etc information, but right now it only has a fake depth that doesn't even get updated. Just to show the idea of the table usage. 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 41058147c..5bb40c217 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
CC=gcc
CFLAGS=-Wall -Wno-pointer-sign -g
-OBJS=main.o profile.o divelist.o parse.o
+OBJS=main.o profile.o info.o divelist.o parse.o
parse: $(OBJS)
$(CC) $(LDLAGS) -o parse $(OBJS) `xml2-config --libs` \
@@ -16,5 +16,8 @@ main.o: main.c dive.h display.h
profile.o: profile.c dive.h display.h
$(CC) $(CFLAGS) `pkg-config --cflags gtk+-2.0` -c profile.c
+info.o: info.c dive.h display.h
+ $(CC) $(CFLAGS) `pkg-config --cflags gtk+-2.0` -c info.c
+
divelist.o: divelist.c dive.h display.h
$(CC) $(CFLAGS) `pkg-config --cflags gtk+-2.0` -c divelist.c