summaryrefslogtreecommitdiffstats
path: root/gbdk/gbdk-support/makecom/pascal/Makefile
diff options
context:
space:
mode:
authorLouis Burda <quent.burda@gmail.com>2022-06-02 15:28:40 +0200
committerLouis Burda <quent.burda@gmail.com>2022-06-02 15:28:40 +0200
commit5bc16063c29aa4d3d287ebd163ccdbcbf54c4f9f (patch)
treec131f947a37b3af2d14d41e9eda098bdec2d061c /gbdk/gbdk-support/makecom/pascal/Makefile
parent78a5f810b22f0d8cafa05f638b0cb2e889824859 (diff)
downloadcscg2022-gearboy-master.tar.gz
cscg2022-gearboy-master.zip
Added submodule filesHEADmaster
Diffstat (limited to 'gbdk/gbdk-support/makecom/pascal/Makefile')
-rw-r--r--gbdk/gbdk-support/makecom/pascal/Makefile31
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
+