#
# CFLAGS for typical IBM-PC installation
#
CFLAGS= -a -d -f- -w -G -O -Z -DMSDOS
MODEL=-mc

all:	slfp.exe stat.exe


.c.obj:
	tcc -c $(MODEL) $(CFLAGS) $*

slfp.exe: slfp.obj getopt.obj
	tcc $(MODEL) -M -y -eslfp slfp.obj getopt.obj

stat.exe: stat.obj
	tcc $(MODEL) -M -y -estat stat.obj

slfp.obj: slfp.c getopt.h gen.h
getopt.obj: getopt.h gen.h
stat.obj: stat.c
