@echo off
REM Note:
REM   This is NOT a real 'make' file, just an alias.
REM
REM This BATCH file assumes PATH includes wmake.exe
REM

if %1.==/?. goto ERROR
if %1.==. goto ALL
if %1.==all. goto ALL
if %1.==clean. goto CLEAN
goto ASXXXX

:ALL
@echo on
wmake -f as1802.mk -h -e
wmake -f as2650.mk -h -e
wmake -f as370.mk -h -e
wmake -f as4040.mk -h -e
wmake -f as430.mk -h -e
wmake -f as6100.mk -h -e
wmake -f as61860.mk -h -e
wmake -f as6500.mk -h -e
wmake -f as6800.mk -h -e
wmake -f as6801.mk -h -e
wmake -f as6804.mk -h -e
wmake -f as6805.mk -h -e
wmake -f as6808.mk -h -e
wmake -f as6809.mk -h -e
wmake -f as6811.mk -h -e
wmake -f as6812.mk -h -e
wmake -f as6816.mk -h -e
wmake -f as68cf.mk -h -e
wmake -f as68k.mk -h -e
wmake -f as740.mk -h -e
wmake -f as78k0.mk -h -e
wmake -f as78k0s.mk -h -e
wmake -f as8008.mk -h -e
wmake -f as8008s.mk -h -e
wmake -f as8048.mk -h -e
wmake -f as8051.mk -h -e
wmake -f as8085.mk -h -e
wmake -f as8x300.mk -h -e
wmake -f as8xcxxx.mk -h -e
wmake -f as89lp.mk -h -e
wmake -f asavr.mk -h -e
wmake -f ascheck.mk -h -e
wmake -f ascop4.mk -h -e
wmake -f ascop8.mk -h -e
wmake -f asez8.mk -h -e
wmake -f asez80.mk -h -e
wmake -f asf2mc8.mk -h -e
wmake -f asf8.mk -h -e
wmake -f asgb.mk -h -e
wmake -f ash8.mk -h -e
wmake -f asm8c.mk -h -e
wmake -f asolms40.mk -h -e
wmake -f aspdp11.mk -h -e
wmake -f aspic.mk -h -e
wmake -f asrab.mk -h -e
wmake -f asrs08.mk -h -e
wmake -f asscmp.mk -h -e
wmake -f asst6.mk -h -e
wmake -f asst7.mk -h -e
wmake -f asst8.mk -h -e
wmake -f asst9.mk -h -e
wmake -f assx.mk -h -e
wmake -f astlcs90.mk -h -e
wmake -f asz8.mk -h -e
wmake -f asz80.mk -h -e
wmake -f asz280.mk -h -e
wmake -f aslink.mk -h -e
wmake -f asxcnv.mk -h -e
wmake -f asxscn.mk -h -e
wmake -f s19os9.mk -h -e
@echo off
goto EXIT

:ASXXXX
@echo on
wmake -f %1.mk -h -e
@echo off
goto EXIT

:CLEAN
del *.exe
del *.obj
del *.map
del *.sym
del ..\exe\*.exe
goto EXIT

:ERROR
echo.
echo make - Compiles the ASxxxx Assemblers, Linker, and Utilities.
echo.
echo Valid arguments are:
echo --------  --------  --------  --------  --------  --------
echo all       ==        'blank'
echo --------  --------  --------  --------  --------  --------
echo as1802    as2650    as370     as4040    as430     as6100
echo as61860   as6500    as6800    as6801    as6804    as6805
echo as6808    as6809    as6811    as6812    as6816    as68k
echo as68cf    as740     as78k0    as78k0s   as8008    as8008s
echo as8048    as8051    as8085    as89lp    as8x300   as8xcxxx
echo asavr     ascheck   ascop4    ascop8    asez8     asez80
echo asf2mc8   asf8      asgb      ash8      asm8c     asolms40
echo aspdp11   aspic     asrab     asrs08    asscmp    asst6
echo asst7     asst8     asst9     assx      astlcs90  asz8
echo asz80     asz280
echo --------  --------  --------  --------  --------  --------
echo aslink    asxcnv    asxscn    s19os9
echo --------  --------  --------  --------  --------  --------
echo.
goto EXIT

:EXIT

