Skip to content

Commit

Permalink
Fix Atari linker config file in "apps" and "test" directories.
Browse files Browse the repository at this point in the history
  • Loading branch information
groessler committed Oct 2, 2017
1 parent d95d403 commit 58ba8e8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion apps/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ ip65:
drivers:
make -C ../drivers

ATARI_CFG = atari.cfg
telnet65.com: ATARI_CFG = atrtelnet.cfg

%.o: %.s
ca65 $<

Expand All @@ -80,7 +83,7 @@ drivers:
ld65 -o $*.bin -C apple2.cfg -m $*.a2.map -vm $< $(IP65LIB) $(A2DRIVERLIB) apple2.lib

%.com: %.o ip65 drivers $(INCFILES)
ld65 -o $*.com -C atrtelnet.cfg -m $*.atr.map -vm $< $(IP65LIB) $(ATRDRIVERLIB) atari.lib
ld65 -o $*.com -C $(ATARI_CFG) -m $*.atr.map -vm $< $(IP65LIB) $(ATRDRIVERLIB) atari.lib

%.vicprg: %.o ip65 drivers $(INCFILES)
ld65 -o $*.vicprg -C vic20-32k.cfg -m $*.vic.map -vm $< $(IP65LIB) $(VICDRIVERLIB) vic20.lib
Expand Down
5 changes: 4 additions & 1 deletion test/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ ip65:
drivers:
make -C ../drivers

ATARI_CFG = atari.cfg
vt100.com: ATARI_CFG = ../apps/atrtelnet.cfg

%.o: %.s
ca65 $<

Expand All @@ -91,7 +94,7 @@ drivers:
ld65 -o $*.bin -C apple2.cfg -m $*.a2.map -vm $< $(IP65LIB) $(A2DRIVERLIB) apple2.lib

%.com: %.o ip65 drivers $(INCFILES)
ld65 -o $*.com -C atari.cfg -m $*.atr.map -vm $< $(IP65LIB) $(ATRDRIVERLIB) atari.lib
ld65 -o $*.com -C $(ATARI_CFG) -m $*.atr.map -vm $< $(IP65LIB) $(ATRDRIVERLIB) atari.lib

%.vicprg: %.o ip65 drivers $(INCFILES)
ld65 -o $*.vicprg -C vic20-32k.cfg -m $*.vic.map -vm $< $(IP65LIB) $(VICDRIVERLIB) vic20.lib
Expand Down

0 comments on commit 58ba8e8

Please sign in to comment.