# makefile for df.exe
# Larry Kollar, 1 Feb 93
# you'll see a "Warning: no stack" during linking.  This is normal.
#
# if you're porting this elsewhere, -mt is for tiny model

CC = tcc
CFLAGS = -mt
ASM = tasm
ASMFLAGS = /mx

OBJS = df.obj ceh.obj numflopy.obj df_cmd.obj

default: df.exe

.c.obj:
	$(CC) $(CFLAGS) -c {$< }

ceh.obj: ceh.asm
	$(ASM) $(ASMFLAGS) ceh.asm

df.exe: $(OBJS)
	$(CC) $(CFLAGS) -edf.exe $(OBJS)

clean:
	rm $(OBJS)
