2009-08-19 12:54:59 +00:00
|
|
|
CC=cl65
|
|
|
|
AS=ca65
|
|
|
|
LD=ld65
|
|
|
|
CFLAGS=-Oirs -t $(TARGET)
|
|
|
|
AFLAGS=
|
|
|
|
|
|
|
|
|
|
|
|
IP65TCPLIB=../ip65/ip65_tcp.lib
|
2009-08-20 10:06:33 +00:00
|
|
|
#C64PROGLIB=../drivers/c64prog.lib
|
|
|
|
#NT2PLAY=nt2play.o
|
2009-08-19 12:54:59 +00:00
|
|
|
INCFILES=\
|
|
|
|
../inc/common.i\
|
|
|
|
../inc/commonprint.i\
|
|
|
|
../inc/net.i\
|
|
|
|
|
|
|
|
all: \
|
|
|
|
comatomx.prg \
|
2009-08-20 10:06:33 +00:00
|
|
|
|
|
|
|
%.o: %.s
|
|
|
|
$(AS) $(AFLAGS) $<
|
2009-08-19 12:54:59 +00:00
|
|
|
|
2009-08-20 10:06:33 +00:00
|
|
|
comatomx.o: comatomx.s sine_data.i
|
2009-08-19 12:54:59 +00:00
|
|
|
$(AS) $(AFLAGS) $<
|
|
|
|
|
|
|
|
sine_data.i: make_sine_data.rb
|
|
|
|
ruby make_sine_data.rb
|
|
|
|
|
2009-08-20 10:06:33 +00:00
|
|
|
comatomx.prg: comatomx.o nt2play.o $(IP65TCPLIB) $(C64PROGLIB) $(INCFILES) ../cfg/c64prg.cfg
|
|
|
|
$(LD) -m comatomx.map -vm -C ../cfg/c64prg.cfg -o comatomx.prg $(AFLAGS) $< $(IP65TCPLIB) $(C64PROGLIB) $(NT2PLAY)
|
|
|
|
cp comatomx.prg ../../server/boot/
|
2009-08-19 12:54:59 +00:00
|
|
|
clean:
|
2009-08-20 10:06:33 +00:00
|
|
|
rm -f *.o *.pg2 *.prg *.map
|
2009-08-19 12:54:59 +00:00
|
|
|
|
|
|
|
distclean: clean
|
|
|
|
rm -f *~
|