# Simple makefile for SHSUCDX 2.1a, with MASM 6.11d, MSC 8.00c and NMAKE 1.40
# Jason Hood, 12 June, 2003.
# 11 October, 2003: added clean.

AFLAGS = /nologo /Sa /Fl
CFLAGS = /nologo /W3 /G3 /O1aceiosw /Fl
LDFLAGS = /nologo /batch /Fm

all: shsucdx.exe smarter.exe

shsucdx.exe: shsucdx.obj cmds.obj
	$(CC) $(LDFLAGS) $**

smarter.exe: smarter.obj
	$(CC) $(LDFLAGS) $**

shsucdx.obj: shsucdx.asm undoc.inc
cmds.obj: cmds.c cdrom.h redir.h
smarter.obj: smarter.c redir.h

clean:
	del *.obj
	del *.cod
	del *.map
	del shsucdx.lst
