2009-08-19 12:54:59 +00:00
|
|
|
CC=cl65
|
2009-08-25 02:08:54 +00:00
|
|
|
AS=ca65
|
|
|
|
DA=dasm
|
2009-08-19 12:54:59 +00:00
|
|
|
LD=ld65
|
|
|
|
CFLAGS=-Oirs -t $(TARGET)
|
|
|
|
AFLAGS=
|
|
|
|
|
|
|
|
|
|
|
|
IP65TCPLIB=../ip65/ip65_tcp.lib
|
2009-09-22 02:05:49 +00:00
|
|
|
C64PROGLIB=../drivers/c64prog.lib
|
2009-08-20 10:06:33 +00:00
|
|
|
#NT2PLAY=nt2play.o
|
2009-08-19 12:54:59 +00:00
|
|
|
INCFILES=\
|
|
|
|
../inc/common.i\
|
|
|
|
../inc/commonprint.i\
|
|
|
|
../inc/net.i\
|
|
|
|
|
2009-11-07 06:00:54 +00:00
|
|
|
all: upnatom.prg upnatom.d64
|
2009-08-20 10:06:33 +00:00
|
|
|
|
|
|
|
%.o: %.s
|
|
|
|
$(AS) $(AFLAGS) $<
|
2009-08-19 12:54:59 +00:00
|
|
|
|
2009-08-20 14:03:02 +00:00
|
|
|
upnatom.o: upnatom.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 14:03:02 +00:00
|
|
|
upnatom.prg: upnatom.o nt2play.o $(IP65TCPLIB) $(C64PROGLIB) $(INCFILES) ../cfg/c64prg.cfg
|
|
|
|
$(LD) -m upnatom.map -vm -C ../cfg/c64prg.cfg -o upnatom.prg $(AFLAGS) $< $(IP65TCPLIB) $(C64PROGLIB) $(NT2PLAY)
|
2009-11-07 06:00:54 +00:00
|
|
|
# cp upnatom.prg ../../server/boot/
|
2009-09-22 02:05:49 +00:00
|
|
|
|
|
|
|
%.prg: %.o $(IP65TCPLIB) $(C64PROGLIB) $(INCFILES) ../cfg/c64prg.cfg
|
|
|
|
$(LD) -m $*.map -vm -C ../cfg/c64prg.cfg -o $*.prg $(AFLAGS) $< $(IP65TCPLIB) $(C64PROGLIB)
|
|
|
|
|
|
|
|
|
2009-08-24 10:20:21 +00:00
|
|
|
upnatom.d64: upnatom.prg url.cfg
|
|
|
|
cp upnatom.prg autoexec.prg
|
|
|
|
ripxplore.rb --init CbmDos upnatom.d64 -a autoexec.prg
|
|
|
|
ripxplore.rb upnatom.d64 -a url.cfg -t C64Seq
|
|
|
|
|
2009-08-25 02:08:54 +00:00
|
|
|
httpd.prg: httpd.asm
|
|
|
|
$(DA) httpd.asm -ohttpd.prg
|
|
|
|
|
2009-09-27 10:32:03 +00:00
|
|
|
%.d64: %.prg
|
|
|
|
cp $*.prg autoexec.prg
|
|
|
|
ripxplore.rb --init CbmDos $*.d64 -a autoexec.prg
|
2009-08-25 02:08:54 +00:00
|
|
|
|
2009-08-19 12:54:59 +00:00
|
|
|
clean:
|
2009-08-24 10:20:21 +00:00
|
|
|
rm -f *.o *.pg2 *.prg *.map upnatom.d64
|
2009-08-19 12:54:59 +00:00
|
|
|
|
|
|
|
distclean: clean
|
|
|
|
rm -f *~
|