aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/makefile b/makefile
index 56e50d1..23f32c0 100644
--- a/makefile
+++ b/makefile
@@ -1,6 +1,9 @@
+# Note: you need the GEM library and includes accessible to
+# Turbo C for this to work
+
CC=tcc
-CFLAGS=-ms -DPCGEM #-DNEEDGSX
-CLIBS=stcgem.lib
+CFLAGS=-ms -DPCGEM -DNEEDGSX
+CLIBS=stcgem.lib
TARGET=worm.app
clean:
@@ -10,9 +13,9 @@ clean:
player.obj: player.c player.h field.h
$(CC) $(CFLAGS) -c player.c
-field.obj: field.c player.h field.h
+field.obj: field.c player.h field.h util.h
$(CC) $(CFLAGS) -c field.c
-all: worm.c player.h field.h wormpc.h player.obj field.obj
+all: worm.c player.h field.h wormpc.h util.h player.obj field.obj
$(CC) $(CFLAGS) -e$(TARGET) worm.c player.obj field.obj $(CLIBS)
\ No newline at end of file