From 4350a75b9455387c0da36b9b52349a858d8fca9c Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Thu, 1 Sep 2011 10:09:53 -0700 Subject: [PATCH] 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 --- Makefile | 11 ++++++----- README | 5 +++++ parse.c => parse-xml.c | 0 3 files changed, 11 insertions(+), 5 deletions(-) create mode 100644 README rename parse.c => parse-xml.c (100%) diff --git a/Makefile b/Makefile index 5bb40c2..4a86ebf 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 diff --git a/README b/README new file mode 100644 index 0000000..946beff --- /dev/null +++ b/README @@ -0,0 +1,5 @@ +Half-arsed divelog software in C. + +I'm tired of java programs that don't work etc. + +License: GPLv2 diff --git a/parse.c b/parse-xml.c similarity index 100% rename from parse.c rename to parse-xml.c -- 2.45.2