jewel-of-kaldun/Makefile

31 lines
577 B
Makefile
Raw Normal View History

2016-09-19 01:18:29 +00:00
# External dependencies:
include local.config
# Local stuff:
# > PGMS is a list of direct assembler targetrs
PGMS = jok.system.s
# > SRC is a list of all source files used to trigger a rebuild
SRC = $(PGMS)
SYS = JOK.SYSTEM
2016-09-19 01:18:29 +00:00
TYPE = SYS
ADDR = 0x2000
TMPL = template.po
APP = jewel-of-kaldun
DISK = $(APP).po
ZIP = $(APP).zip
2016-09-19 01:18:29 +00:00
jok: $(SRC)
$(ASM) $(PGMS)
2016-09-19 01:18:29 +00:00
cp $(TMPL) $(DISK)
cat $(SYS) | $(AC) -p $(DISK) $(SYS) $(TYPE) $(ADDR)
2016-09-19 01:18:29 +00:00
$(AC) -k $(DISK) $(SYS)
$(AC) -ll $(DISK)
zip $(ZIP) $(DISK)
2016-09-19 01:18:29 +00:00
clean:
rm $(PGM) $(DISK) $(ZIP)
rm *_Output.txt _FileInformation.txt
rm $(SYS)
2016-09-19 01:18:29 +00:00