2018-08-07 11:03:21 +00:00
|
|
|
XAPP=../xa-pre-process/xapp
|
2018-08-07 10:38:40 +00:00
|
|
|
|
2018-08-07 02:14:36 +00:00
|
|
|
system.obj: common.obj page6.obj
|
|
|
|
cat common.obj page6.obj > system.obj
|
|
|
|
|
|
|
|
common.obj: rom.h common.h common.asm
|
2018-08-28 00:27:00 +00:00
|
|
|
xa -C -M common.asm -l common.lbl -o common.obj
|
2018-08-07 02:14:36 +00:00
|
|
|
|
2018-09-08 15:00:19 +00:00
|
|
|
page6.obj: rom.h macros.h globals.h page6.src
|
2018-08-07 11:03:21 +00:00
|
|
|
cpp -P page6.src | $(XAPP) > page6.asm
|
2018-08-28 00:27:00 +00:00
|
|
|
xa -C -M page6.asm -l page6.lbl -o page6.obj
|
2018-08-07 02:14:36 +00:00
|
|
|
|
2018-09-08 15:00:19 +00:00
|
|
|
globals.h: common.obj
|
2019-04-30 01:32:06 +00:00
|
|
|
grep -E '^(FN_XR|FN_0X|PLS_1|MNS_1|ADDR)' common.lbl | sed -e 's/, 0, 0x0000//' -e 's/, / = /' -e 's/ 0x/ \x24/' > globals.h
|
2018-09-08 15:00:19 +00:00
|
|
|
|
2018-08-21 13:14:16 +00:00
|
|
|
clean:
|
2018-09-08 15:00:19 +00:00
|
|
|
rm -f globals.h page6.asm common.obj page6.obj common.lbl page6.lbl system.obj
|