aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--makefile11
-rw-r--r--worm.c4
-rw-r--r--wormpc.rscbin1186 -> 1244 bytes
3 files changed, 10 insertions, 5 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
diff --git a/worm.c b/worm.c
index d1d9a59..3616d02 100644
--- a/worm.c
+++ b/worm.c
@@ -174,8 +174,10 @@ WORD txtwidth,txtheight;
rsrc_gaddr(R_TREE,ABOUT,&about_box);
- /* Make the application name nicer */
+ /* Make the application name nicer on Atari GEM */
+#ifndef PCGEM
menu_register(app_accid, "Worm!");
+#endif
return open_window(1);
}
diff --git a/wormpc.rsc b/wormpc.rsc
index f9b0f39..e6f1452 100644
--- a/wormpc.rsc
+++ b/wormpc.rsc
Binary files differ