dos33fsprogs/ethernet/Makefile

37 lines
955 B
Makefile
Raw Normal View History

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
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 \
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
$(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:
rm -f *~ *.BAS R.TXT *.o *.lst memcpy