aboutsummaryrefslogtreecommitdiff
path: root/makefile.gnu
diff options
context:
space:
mode:
authorJeffrey Armstrong <jeff@approximatrix.com>2020-03-29 11:17:39 -0500
committerJeffrey Armstrong <jeff@approximatrix.com>2020-03-29 11:17:39 -0500
commit4e1571bda9c6a85db4bd7a43f3044d855b091ec3 (patch)
treea87feec94ae2f0dcc47bd5ae888fcf306acf86a1 /makefile.gnu
parentbc3676fd53cff5bc0ff131ba887061703ebde192 (diff)
downloadgemworm-4e1571bda9c6a85db4bd7a43f3044d855b091ec3.zip
gemworm-4e1571bda9c6a85db4bd7a43f3044d855b091ec3.tar.gz
Initial work on support for high scores. Transitioned project to modern AHCC and fixed tons of warnings. PC-GEM probably broken at the moment.
Diffstat (limited to 'makefile.gnu')
-rw-r--r--makefile.gnu9
1 files changed, 6 insertions, 3 deletions
diff --git a/makefile.gnu b/makefile.gnu
index c80d582..6176c5d 100644
--- a/makefile.gnu
+++ b/makefile.gnu
@@ -13,9 +13,12 @@ player.o: player.c player.h field.h
field.o: field.c player.h field.h
$(CC) $(CFLAGS) -c field.c
-worm.o: worm.c player.h field.h keybd.h
+scores.o: scores.c scores.h
+ $(CC) $(CFLAGS) -c scores.c
+
+worm.o: worm.c player.h field.h keybd.h scores.h
$(CC) $(CFLAGS) -c worm.c
-all: worm.o player.h field.h keybd.h wormst.h player.o field.o
- $(CC) $(CFLAGS) -o $(TARGET) worm.o player.o field.o $(CLIBS)
+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