Removed the (defunct) include file dependencies.

This commit is contained in:
Oliver Schmidt 2018-02-23 16:59:31 +01:00
parent 989c35e168
commit 0f6cbffe83
2 changed files with 14 additions and 24 deletions

View File

@ -43,11 +43,6 @@ $(addsuffix .com,$(TCP)): IP65LIB = ../ip65/ip65_tcp.lib
$(foreach pgm,$(UDP) $(TCP),$(eval $(pgm): $(pgm).prg $(pgm).bin $(pgm).com))
INCFILES =\
../inc/common.inc \
../inc/commonprint.inc \
../inc/net.inc
prg: $(addsuffix .prg,$(UDP) $(TCP))
bin: $(addsuffix .bin,$(UDP) $(TCP))
@ -74,24 +69,24 @@ telnet65.com: ATARI_CFG = atrtelnet.cfg
%.o: %.c
%.prg: %.o ip65 drivers $(INCFILES)
%.prg: %.o ip65 drivers
ld65 -o $*.prg -C c64.cfg -m $*.c64.map -vm $< $(IP65LIB) $(C64DRIVERLIB) c64.lib
%.bin: %.o ip65 drivers $(INCFILES)
%.bin: %.o ip65 drivers
ld65 -o $*.bin -C apple2.cfg -m $*.a2.map -vm $< $(IP65LIB) $(A2DRIVERLIB) apple2.lib
%.com: %.o ip65 drivers $(INCFILES)
%.com: %.o ip65 drivers
ld65 -o $*.com -C $(ATARI_CFG) -m $*.atr.map -vm $< $(IP65LIB) $(ATRDRIVERLIB) atari.lib
%.prg: %.c ip65 drivers $(INCFILES)
%.prg: %.c ip65 drivers
cl65 -o $*.prg -O -t c64 -m $*.c64.map -vm $< $(IP65LIB) ../drivers/ip65_c64.lib
rm $*.o
%.bin: %.c ip65 drivers $(INCFILES)
%.bin: %.c ip65 drivers
cl65 -o $*.bin -O -t apple2enh -m $*.a2.map -vm $< $(IP65LIB) ../drivers/ip65_apple2.lib
rm $*.o
%.com: %.c ip65 drivers $(INCFILES)
%.com: %.c ip65 drivers
cl65 -o $*.com -O -t atari -m $*.atr.map -vm $< $(IP65LIB) ../drivers/ip65_atari.lib
rm $*.o

View File

@ -67,11 +67,6 @@ $(foreach pgm,$(C_PGM),$(eval $(pgm): $(pgm).xl.com))
httpd-slotscan.bin: IP65LIB = ../ip65/ip65_tcp.lib
INCFILES =\
../inc/common.inc \
../inc/commonprint.inc \
../inc/net.inc
prg: $(addsuffix .prg,$(UDP) $(TCP))
bin: $(addsuffix .bin,$(UDP) $(TCP)) httpd-slotscan.bin
@ -105,31 +100,31 @@ vt100.com: ATARI_CFG = ../apps/atrtelnet.cfg
%.o: %.c
%.prg: %.o ip65 drivers $(INCFILES)
%.prg: %.o ip65 drivers
ld65 -o $*.prg -C c64.cfg -m $*.c64.map -vm $< $(IP65LIB) $(C64DRIVERLIB) c64.lib
%.bin: %.o ip65 drivers $(INCFILES)
%.bin: %.o ip65 drivers
ld65 -o $*.bin -C apple2.cfg -m $*.a2.map -vm $< $(IP65LIB) $(A2DRIVERLIB) apple2.lib
%.com: %.o ip65 drivers $(INCFILES)
%.com: %.o ip65 drivers
ld65 -o $*.com -C $(ATARI_CFG) -m $*.atr.map -vm $< $(IP65LIB) $(ATRDRIVERLIB) atari.lib
%.vicprg: %.o ip65 drivers $(INCFILES)
%.vicprg: %.o ip65 drivers
ld65 -o $*.vicprg -C vic20-32k.cfg -m $*.vic.map -vm $< $(IP65LIB) $(VICDRIVERLIB) vic20.lib
%.prg: %.c ip65 drivers $(INCFILES)
%.prg: %.c ip65 drivers
cl65 -o $*.prg -O -t c64 -m $*.c64.map -vm $< $(wildcard $**.s) $(IP65LIB) ../drivers/ip65_c64.lib
rm $*.o
%.bin: %.c ip65 drivers $(INCFILES)
%.bin: %.c ip65 drivers
cl65 -o $*.bin -O -t apple2 -m $*.a2.map -vm $< $(wildcard $**.s) $(IP65LIB) ../drivers/ip65_apple2.lib
rm $*.o
%.com: %.c ip65 drivers $(INCFILES)
%.com: %.c ip65 drivers
cl65 -o $*.com -O -t atari -m $*.atr.map -vm $< $(wildcard $**.s) $(IP65LIB) ../drivers/ip65_atari.lib
rm $*.o
%.xl.com: %.c ip65 drivers $(INCFILES)
%.xl.com: %.c ip65 drivers
cl65 -o $*.xl.com -O -t atarixl -m $*.atrxl.map -vm $< $(wildcard $**.s) $(IP65LIB) ../drivers/ip65_atarixl.lib
rm $*.o