diff options
author | B. Watson <yalhcru@gmail.com> | 2021-04-26 15:37:02 -0400 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2021-04-26 15:37:02 -0400 |
commit | 5faf0c949468cf72d1dfd0e52369ab2d26760fd7 (patch) | |
tree | 9033b891b1dbe50e5b91d7f281e0e78a3fdebe10 /Makefile | |
parent | e16403c5a93e02c8c85ea3cd6de64798235a3ae5 (diff) | |
download | taipan-5faf0c949468cf72d1dfd0e52369ab2d26760fd7.tar.gz |
Initial POC of in-game help
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -314,8 +314,11 @@ textdecomp.s: msg.inc msg.inc: messages.c # messages.c is a generated file -messages.c: messages.pl textcomp - perl messages.pl > messages.c +messages.c: messages.pl messages.msg textcomp + perl messages.pl < messages.msg > messages.c + +helpmsgs.c: messages.pl helpmsgs.msg textcomp + perl messages.pl -n < helpmsgs.msg > helpmsgs.c ### Cartridge-related targets. The way I'm doing this isn't 'proper': I should # be using cc65's linker with a fancy config script to do the bank layout @@ -335,8 +338,8 @@ cartbank2.cfg: cartbank2.cfg.old cartbank2.cfg.new cartbank2.sh # using a custom crt0 to get rid of the extra RTS cc65 puts there for # SpartaDOS compatibility (which has no effect on a cartridge image, # except to waste 1 byte). -romable_taimain.raw: cartbank2.cfg $(TAIMAIN_C_SRC) $(TAIMAIN_ASM_SRC) $(TAIMAIN_HDRS) $(BIGNUM_SRC) $(BIGNUM_HDRS) $(TAIMAIN_LIBS) crt0_cart.s messages.c - $(CC) --config cartbank2.cfg -m taipan.map -t atari -T -I. -L. -DFONT_ADDR=0x9c00 --start-addr 0x400 -Wl -D__STACKSIZE__=0x200 -O -Wl -D__SYSTEM_CHECK__=1 -Wl -D__AUTOSTART__=1 -Wl -D__EXEHDR__=1 -DCART_TARGET=1 --asm-define CART_TARGET=1 -DBIGNUM=BIGFLOAT -o romable_taimain.raw $(TAIMAIN_C_SRC) $(TAIMAIN_ASM_SRC) $(BIGNUM_SRC) $(TAIMAIN_LIBS) crt0_cart.s +romable_taimain.raw: cartbank2.cfg $(TAIMAIN_C_SRC) $(TAIMAIN_ASM_SRC) $(TAIMAIN_HDRS) $(BIGNUM_SRC) $(BIGNUM_HDRS) $(TAIMAIN_LIBS) crt0_cart.s messages.c helpmsgs.c + $(CC) --config cartbank2.cfg -m taipan.map -t atari -T -I. -L. -DFONT_ADDR=0x9c00 --start-addr 0x400 -Wl -D__STACKSIZE__=0x200 -O -Wl -D__SYSTEM_CHECK__=1 -Wl -D__AUTOSTART__=1 -Wl -D__EXEHDR__=1 --asm-define GAME_HELP=1 -DGAME_HELP -DCART_TARGET=1 --asm-define CART_TARGET=1 -DBIGNUM=BIGFLOAT -o romable_taimain.raw $(TAIMAIN_C_SRC) $(TAIMAIN_ASM_SRC) $(BIGNUM_SRC) $(TAIMAIN_LIBS) crt0_cart.s gamehelp.s # 8192 bytes of $ff filler, for unused banks. Possibly these will be # used for something like an interactive game manual/tutorial. |