SHELL=/bin/sh.exe .phony: clean download BASE = megasquirt_DT $(BASE).s19: $(BASE).asm settings.inc \ gp32.equ vector.inc burner.asm \ airdenfactor.inc \ barofactor.inc kpafactor.inc thermfactor.inc \ throttlefactor.inc \ init.inc flash.inc header.inc casm08Z $(BASE).asm S L D I M C Q download: $(BASE).s19 download -b $(BASE).s19 cd .. ; megatunefor101.exe maxq_dt_20030803.msq init.inc flash.inc header.inc: $(BASE).def ./ms_prep $(BASE).def rm megatune.xxx barofactor.inc kpafactor.inc: # Stock GM sensor genmap thermfactor.inc: # Stock GM sensor gentherm2 -c airdenfactor.inc: # Default GM manifold air temperature sensor gentherm2 -i throttlefactor.inc: # Use whatever MT generates, look under Tools->Generate Throttle Pos... throttlefactor 27 225 clean: rm -f airdenfactor.inc \ barofactor.inc \ kpafactor.inc \ thermfactor.inc \ throttlefactor.inc rm -f $(BASE).ERR \ $(BASE).lst \ $(BASE).map \ $(BASE).s19 rm -f init.inc header.inc flash.inc zip: $(BASE).s19 zip -9 DT.zip \ airdenfactor.inc \ barofactor.inc \ boot_r12.asm \ burner.asm \ flash.inc \ Gp32.equ \ header.inc \ init.inc \ kpafactor.inc \ Makefile \ megasquirt_DT.asm \ megasquirt_DT.def \ megasquirt_DT.lst \ megasquirt_DT.s19 \ offsets \ README.TXT \ settings.inc \ thermfactor.inc \ throttlefactor.inc \ vector.inc