summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-09-01 10:09:53 -0700
committerGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-09-01 10:09:53 -0700
commit4350a75b9455387c0da36b9b52349a858d8fca9c (patch)
tree5f856547c604ba394ebe99b13a3f20c5675b7694 /Makefile
parentfeec55504084baf022517d39e72431b4d361a217 (diff)
downloadsubsurface-4350a75b9455387c0da36b9b52349a858d8fca9c.tar.gz
Rename some files to be more appropriate
The executable is now called 'divelog'. If this gets useful enough to actually *use*, I guess I'll have to come up with a real name some day. Add a silly README, rename 'parse' to 'parse-xml'. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 5bb40c217..4a86ebfd7 100644
--- a/Makefile
+++ b/Makefile
@@ -1,14 +1,15 @@
CC=gcc
CFLAGS=-Wall -Wno-pointer-sign -g
-OBJS=main.o profile.o info.o divelist.o parse.o
+OBJS=main.o profile.o info.o divelist.o parse-xml.o
-parse: $(OBJS)
- $(CC) $(LDLAGS) -o parse $(OBJS) `xml2-config --libs` \
+divelog: $(OBJS)
+ $(CC) $(LDLAGS) -o divelog $(OBJS) \
+ `xml2-config --libs` \
`pkg-config --libs gtk+-2.0`
-parse.o: parse.c dive.h
- $(CC) $(CFLAGS) -c `xml2-config --cflags` parse.c
+parse-xml.o: parse-xml.c dive.h
+ $(CC) $(CFLAGS) -c `xml2-config --cflags` parse-xml.c
main.o: main.c dive.h display.h
$(CC) $(CFLAGS) `pkg-config --cflags gtk+-2.0` -c main.c