aboutsummaryrefslogtreecommitdiff
path: root/makefile
blob: 56e50d1c0eb53ff5b1f4c106c06d421ceab9613c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
CC=tcc
CFLAGS=-ms -DPCGEM #-DNEEDGSX
CLIBS=stcgem.lib
TARGET=worm.app

clean:
	del *.obj
	del *.app

player.obj: player.c player.h field.h
	$(CC) $(CFLAGS) -c player.c

field.obj: field.c player.h field.h
	$(CC) $(CFLAGS) -c field.c

all: worm.c player.h field.h wormpc.h player.obj field.obj
	$(CC) $(CFLAGS) -e$(TARGET) worm.c player.obj field.obj $(CLIBS)