aboutsummaryrefslogtreecommitdiff
path: root/makefile.gnu
diff options
context:
space:
mode:
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