2016-09-19 01:18:29 +00:00
|
|
|
# External dependencies:
|
|
|
|
include local.config
|
|
|
|
|
|
|
|
# Local stuff:
|
2016-09-19 02:31:57 +00:00
|
|
|
# > 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
|
2016-09-19 02:31:57 +00:00
|
|
|
APP = jewel-of-kaldun
|
|
|
|
DISK = $(APP).po
|
|
|
|
ZIP = $(APP).zip
|
2016-09-19 01:18:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
jok: $(SRC)
|
2016-09-19 02:31:57 +00:00
|
|
|
$(ASM) $(PGMS)
|
2016-09-19 01:18:29 +00:00
|
|
|
cp $(TMPL) $(DISK)
|
2016-09-19 02:31:57 +00:00
|
|
|
cat $(SYS) | $(AC) -p $(DISK) $(SYS) $(TYPE) $(ADDR)
|
2016-09-19 01:18:29 +00:00
|
|
|
$(AC) -k $(DISK) $(SYS)
|
|
|
|
$(AC) -ll $(DISK)
|
2016-09-19 02:31:57 +00:00
|
|
|
zip $(ZIP) $(DISK)
|
2016-09-19 01:18:29 +00:00
|
|
|
|
|
|
|
clean:
|
2016-09-19 02:31:57 +00:00
|
|
|
rm $(PGM) $(DISK) $(ZIP)
|
|
|
|
rm *_Output.txt _FileInformation.txt
|
|
|
|
rm $(SYS)
|
2016-09-19 01:18:29 +00:00
|
|
|
|