# Memory model
# -mx for 386, -mz for 286
#								ADSYN Makef
# macros defined in toplevel csound/Makefile
#	CFLAGS DESTDIR INCLUDE LIBLIB
CFLAGS = -DSYS5 -DSFIRCAM -DWAV -O -w
DESTDIR = e:\csound\beta386
ZIP = zip

T = ..\..

OBJS =  $T\hetro.obj $T\filopen.obj $T\sfheaders.obj $T\soundin.obj \
	$T\ulaw.obj $T\aiff.obj $T\IEEE80.obj $T\memalloc.obj $T\wave.obj

hetro.exe:	$(OBJS) main.c
	ztc -mx -c $(CFLAGS) main.c
	ztc -mx -ohetro main.obj $(OBJS) x32v.lib
	del main.obj

adsyns:	hetro.exe

install: hetro.exe
	$(ZIP) $(DESTDIR)\cs386 hetro.exe

clean:
	-del *.obj
	-del hetro.exe

rmbak:
	-rm *.bak *~
