mirror of
https://github.com/bobbimanners/emailler.git
synced 2024-11-13 20:04:37 +00:00
47 lines
1.1 KiB
Makefile
47 lines
1.1 KiB
Makefile
AS=ca65
|
|
LD=ld65
|
|
CFLAGS=-Oirs -t $(TARGET)
|
|
AFLAGS=
|
|
|
|
INCFILES=\
|
|
../inc/common.i\
|
|
../inc/commonprint.i\
|
|
../inc/net.i\
|
|
../inc/menu.i\
|
|
../inc/kipper_constants.i\
|
|
../inc/version.i\
|
|
|
|
#IP65LIB=../ip65/ip65.lib
|
|
IP65LIB=../ip65/ip65_tcp.lib
|
|
#IP65TCPLIB=../ip65/ip65_tcp.lib
|
|
|
|
C64PROGLIB=../drivers/c64prog.lib
|
|
|
|
all: kipperbas.d64 bails.d64
|
|
|
|
|
|
%.o: %.s $(INCFILES)
|
|
$(AS) $(AFLAGS) $<
|
|
|
|
%.prg: %.o $(IP65LIB) $(C64PROGLIB) $(INCFILES) ../cfg/kipperbas.cfg
|
|
$(LD) -m $*.map -vm -C ../cfg/kipperbas.cfg -o $*.prg $(AFLAGS) $< $(IP65LIB) $(C64PROGLIB)
|
|
|
|
|
|
bails.d64: bails.prg
|
|
# ripxplore.rb -r -e kbload $@ -o kbload
|
|
# ripxplore.rb -r -e kbapp $@ -o kbapp
|
|
# ripxplore.rb $@ -I CbmDos -a kipperbas.prg
|
|
ripxplore.rb $@ -a bails.prg
|
|
|
|
kipperbas.d64: kipperbas.prg
|
|
# ripxplore.rb -r -e kbload $@ -o kbload
|
|
# ripxplore.rb -r -e kbapp $@ -o kbapp
|
|
# ripxplore.rb $@ -I CbmDos -a kipperbas.prg
|
|
ripxplore.rb $@ -a kipperbas.prg
|
|
|
|
clean:
|
|
rm -f *.o *.bin *.map *.prg
|
|
|
|
distclean: clean
|
|
rm -f *~
|