mirror of
https://github.com/bobbimanners/emailler.git
synced 2024-09-09 13:54:23 +00:00
39 lines
844 B
Makefile
39 lines
844 B
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
|
|
|
|
%.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)
|
|
|
|
|
|
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
|
|
|
|
clean:
|
|
rm -f *.o *.bin *.map *.prg
|
|
|
|
distclean: clean
|
|
rm -f *~
|