summaryrefslogtreecommitdiff
path: root/contrib/SDL-3.2.8/build-scripts/pkg-support/mingw/Makefile
diff options
context:
space:
mode:
author3gg <3gg@shellblade.net>2026-03-06 13:30:59 -0800
committer3gg <3gg@shellblade.net>2026-03-06 13:30:59 -0800
commit30f41c02aec763d32e62351452da9ef582bc3472 (patch)
tree6bec3f65bfdcbf7f1a631da21a6d613bef5db2fa /contrib/SDL-3.2.8/build-scripts/pkg-support/mingw/Makefile
parent452ff21ca02e315c64ceeb3f21c1ea357aeb1bc8 (diff)
Move contrib libraries to contrib repo
Diffstat (limited to 'contrib/SDL-3.2.8/build-scripts/pkg-support/mingw/Makefile')
-rw-r--r--contrib/SDL-3.2.8/build-scripts/pkg-support/mingw/Makefile39
1 files changed, 0 insertions, 39 deletions
diff --git a/contrib/SDL-3.2.8/build-scripts/pkg-support/mingw/Makefile b/contrib/SDL-3.2.8/build-scripts/pkg-support/mingw/Makefile
deleted file mode 100644
index 9b6cd55..0000000
--- a/contrib/SDL-3.2.8/build-scripts/pkg-support/mingw/Makefile
+++ /dev/null
@@ -1,39 +0,0 @@
1#
2# Makefile for installing the mingw32 version of the SDL library
3
4DESTDIR = /usr/local
5ARCHITECTURES := i686-w64-mingw32 x86_64-w64-mingw32
6
7default:
8 @echo "Run \"make install-i686\" to install 32-bit"
9 @echo "Run \"make install-x86_64\" to install 64-bit"
10 @echo "Run \"make install-all\" to install both"
11 @echo "Add DESTDIR=/custom/path to change the destination folder"
12
13install:
14 @if test -d $(ARCH) && test -d $(DESTDIR); then \
15 (cd $(ARCH) && cp -rv bin include lib share $(DESTDIR)/); \
16 else \
17 echo "*** ERROR: $(ARCH) or $(DESTDIR) does not exist!"; \
18 exit 1; \
19 fi
20
21install-i686:
22 $(MAKE) install ARCH=i686-w64-mingw32
23
24install-x86_64:
25 $(MAKE) install ARCH=x86_64-w64-mingw32
26
27install-all:
28 @if test -d $(DESTDIR); then \
29 mkdir -p $(DESTDIR)/cmake; \
30 cp -rv cmake/* $(DESTDIR)/cmake; \
31 for arch in $(ARCHITECTURES); do \
32 $(MAKE) install ARCH=$$arch DESTDIR=$(DESTDIR)/$$arch; \
33 done \
34 else \
35 echo "*** ERROR: $(DESTDIR) does not exist!"; \
36 exit 1; \
37 fi
38
39.PHONY: default install install-i686 install-x86_64 install-all