2016-12-01 02:33:33 +00:00
|
|
|
DOS33 = ../dos33fs-utils/dos33
|
|
|
|
TXT2BAS = ../asoft_basic-utils/tokenize_asoft
|
2016-12-05 19:48:22 +00:00
|
|
|
MAKEB = ../dos33fs-utils/make_b
|
2016-12-01 02:33:33 +00:00
|
|
|
|
2016-12-16 21:47:25 +00:00
|
|
|
all: ethernet.dsk
|
|
|
|
|
|
|
|
memcpy: memcpy.o
|
|
|
|
ld65 -o memcpy memcpy.o -t none
|
2016-12-16 17:26:51 +00:00
|
|
|
|
|
|
|
memcpy.o: memcpy.s
|
|
|
|
ca65 -o memcpy.o memcpy.s -l memcpy.lst
|
2016-12-01 02:33:33 +00:00
|
|
|
|
|
|
|
SETUP.BAS: setup.bas
|
|
|
|
$(TXT2BAS) < setup.bas > SETUP.BAS
|
|
|
|
|
|
|
|
WEBSERVER.BAS: webserver.bas
|
|
|
|
$(TXT2BAS) < webserver.bas > WEBSERVER.BAS
|
|
|
|
|
2016-12-05 19:48:22 +00:00
|
|
|
R.TXT: request.txt
|
|
|
|
$(MAKEB) request.txt R.TXT 0xc000
|
2016-12-01 02:33:33 +00:00
|
|
|
|
|
|
|
ethernet.dsk: SETUP.BAS \
|
2016-12-05 13:24:00 +00:00
|
|
|
WEBSERVER.BAS \
|
2016-12-07 05:25:13 +00:00
|
|
|
R.TXT \
|
2016-12-13 21:57:02 +00:00
|
|
|
./c/about.html ./c/index.html ./c/favicon.ico ./c/vmw_logo.png
|
2016-12-01 02:33:33 +00:00
|
|
|
$(DOS33) -y ethernet.dsk SAVE A SETUP.BAS
|
|
|
|
$(DOS33) -y ethernet.dsk SAVE A WEBSERVER.BAS
|
2016-12-13 21:57:02 +00:00
|
|
|
$(DOS33) -y ethernet.dsk BSAVE R.TXT
|
2016-12-14 04:04:58 +00:00
|
|
|
$(DOS33) -y ethernet.dsk BSAVE -a 0x4000 ./c/about.html
|
|
|
|
$(DOS33) -y ethernet.dsk BSAVE -a 0x4000 ./c/index.html
|
|
|
|
$(DOS33) -y ethernet.dsk BSAVE -a 0x4000 ./c/favicon.ico
|
|
|
|
$(DOS33) -y ethernet.dsk BSAVE -a 0x4000 ./c/vmw_logo.png
|
2016-12-01 02:33:33 +00:00
|
|
|
|
|
|
|
clean:
|
2016-12-16 21:47:25 +00:00
|
|
|
rm -f *~ *.BAS R.TXT *.o *.lst memcpy
|
|
|
|
|