aboutsummaryrefslogtreecommitdiff
path: root/makefile.gnu
diff options
context:
space:
mode:
authorJeffrey Armstrong <jeff@approximatrix.com>2020-04-08 18:42:18 -0400
committerJeffrey Armstrong <jeff@approximatrix.com>2020-04-08 18:42:18 -0400
commitc2fa8e204a25cbd444dabf677d159d6571bee67b (patch)
treeb75502cb8355df9617f30b760fcda3c316dd483a /makefile.gnu
parent35c7d107799047b22b2c80a6d765719c1c5c6a76 (diff)
downloadgemworm-c2fa8e204a25cbd444dabf677d159d6571bee67b.zip
gemworm-c2fa8e204a25cbd444dabf677d159d6571bee67b.tar.gz
Fixes to the GNU makefile. Added missing macros in worm.c
Diffstat (limited to 'makefile.gnu')
-rw-r--r--makefile.gnu6
1 files changed, 3 insertions, 3 deletions
diff --git a/makefile.gnu b/makefile.gnu
index 6176c5d..a8a95c4 100644
--- a/makefile.gnu
+++ b/makefile.gnu
@@ -4,8 +4,8 @@ CLIBS=-lgem
TARGET=worm.app
clean:
- rm -f *.o
- rm -f *.app
+ rm -f player.o field.o scores.o worm.o
+ rm -f $(TARGET)
player.o: player.c player.h field.h
$(CC) $(CFLAGS) -c player.c
@@ -21,4 +21,4 @@ worm.o: worm.c player.h field.h keybd.h scores.h
all: worm.o player.h field.h keybd.h wormst.h player.o field.o scores.o
$(CC) $(CFLAGS) -o $(TARGET) worm.o player.o field.o scores.o $(CLIBS)
- \ No newline at end of file
+