#                                                                                           
# Makefile for FreeDOS MEM                                                           
#                                                                                           
#                                                                                           
# You might need to change the following lines if you use another                           
# compiler than tc++ 1.01.

# assuming that a) tcc , tlink and tasm are all your path and
# b) these are configured the right way, for instance using a turboc.cfg
# file in the same directory with e.g. -IC:\TC\INCLUDE -LC:\TC\LIB.

CC	= 	tcc

all : mem.exe

mem.exe : mem.c
	$(CC) -ms -a- -k- -N- -d -O -O2 $*.c

clean : mem.obj
	del mem.obj

dist : mem.exe
	copy mem.exe ..\..\bin
	del mem.exe



