diff options
| author | Louis Burda <quent.burda@gmail.com> | 2022-06-02 15:28:40 +0200 |
|---|---|---|
| committer | Louis Burda <quent.burda@gmail.com> | 2022-06-02 15:28:40 +0200 |
| commit | 5bc16063c29aa4d3d287ebd163ccdbcbf54c4f9f (patch) | |
| tree | c131f947a37b3af2d14d41e9eda098bdec2d061c /gbdk/gbdk-support/makecom/pascal/Makefile | |
| parent | 78a5f810b22f0d8cafa05f638b0cb2e889824859 (diff) | |
| download | cscg2022-gearboy-master.tar.gz cscg2022-gearboy-master.zip | |
Diffstat (limited to 'gbdk/gbdk-support/makecom/pascal/Makefile')
| -rw-r--r-- | gbdk/gbdk-support/makecom/pascal/Makefile | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gbdk/gbdk-support/makecom/pascal/Makefile b/gbdk/gbdk-support/makecom/pascal/Makefile new file mode 100644 index 00000000..5a1d29ed --- /dev/null +++ b/gbdk/gbdk-support/makecom/pascal/Makefile @@ -0,0 +1,31 @@ +# bankcheck (auto bank tool) makefile + +ifndef TARGETDIR +TARGETDIR = /opt/gbdk +endif + +ifeq ($(OS),Windows_NT) + BUILD_OS := Windows_NT +else + BUILD_OS := $(shell uname -s) +endif + +# Target older macOS version than whatever build OS is for better compatibility +ifeq ($(BUILD_OS),Darwin) + export MACOSX_DEPLOYMENT_TARGET=10.10 +endif + +CC = +CFLAGS = +OBJ = +BIN = makecom + +all: $(BIN) + +$(BIN): makecom.dpr + fpc -B $< + +clean: + rm -f *.o $(BIN) *~ *.dof *.cfg *.dsk + rm -f *.exe + |
