dos_compilers/Manx Aztec C86 v340a/SAMPLES/OVERLAY/MAKEFILE
2024-07-01 06:45:15 -07:00

29 lines
716 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# ------------------------------------------------------------
# makefile(C) Copyright Bill Buckels 2008. All rights reserved.
# ------------------------------------------------------------
PRG=ov
OV1=ov1
OV2=ov2
# The command to link the root reserves 0x4000 bytes for the overlays code
# and 0x1000 bytes for its data.
$(PRG).EXE: $(PRG).o $(OV1).o $(OV2).o
ln -o $(PRG).EXE -R +C 4000 +D 1000 $(PRG).o ovld.o -lc
ln $(OV1).o ovbgn.o $(PRG).rsm -lc
ln $(OV2).o ovbgn.o $(PRG).rsm -lc
del $(PRG).o
del $(OV1).o
del $(OV2).o
del $(PRG).rsm
$(PRG).o: $(PRG).c
cc $(PRG).c
$(OV1).o: $(OV1).c
cc $(OV1).c
$(OV2).o: $(OV2).c
cc $(OV2).c