# Author: Brad Clements, bkc@omnigate.clarkson.edu   
# 1/28/89
# This makefile requires using the make program that comes w/ turbo C 2.0
# assumes you are using masm, not tasm. Change the -E of cflags if you want
# also assumes tlink 
#
INCLUDES = /I.. /Ic:\os386\aiacode
CFLAGS= /W3 /AS /G2 /Gs /Oil /nologo ${INCLUDES}
AFLAGS = /ML /Z /T ${INCLUDES}
CC     = cl
ASM    = masm

load.exe: main.obj support.obj dump.obj
	link /nol /noi /map /noe main+support+dump+c:\os386\aiacode\rmkint+c:\os386\aiacode\memory,load;

clean:
	rm -f *.lst *.obj *.bak

.asm.obj:
	$(ASM) $(AFLAGS) $*;

.c.asm:
	$(CC) -c $(CFLAGS) /Fs /Fa $*.c
