blob: 025a148e138d081ec25d8dff18ee0388b942e2fe [file] [log] [blame] [raw]
# memory segmentation mode (s = small ; c = compact ; m = medium ; l = large)
MODE = c
all: dosmid.exe
dosmid.exe: dosmid.c mem.c midi.c mpu401.c mus.c outdev.c timer.c ui.c xms.c
wcl -lr -we -d0 -0 -s -m$(MODE) -wx dosmid.c mem.c midi.c mpu401.c mus.c outdev.c timer.c ui.c xms.c awe32\rawe32$(MODE).lib
upx --8086 --best dosmid.exe
clean: .symbolic
del *.obj
del dosmid.exe
pkg: dosmid.exe .symbolic
mkdir progs
mkdir progs\dosmid
mkdir source
mkdir source\dosmid
mkdir appinfo
if exist dosmid.zip del dosmid.zip
copy dosmid.exe progs\dosmid
copy dosmid.txt progs\dosmid
copy history.txt progs\dosmid
copy *.txt source\dosmid
copy *.c source\dosmid
copy *.h source\dosmid
copy Makefile source\dosmid
copy dosmid.lsm source\dosmid
copy dosmid.lsm appinfo
zip -m -q -k -r -9 dosmid.zip progs source appinfo