summaryrefslogtreecommitdiff
path: root/arch.mk
diff options
context:
space:
mode:
authorAndrew Belt <andrewpbelt@gmail.com>2018-03-26 19:47:40 -0400
committerAndrew Belt <andrewpbelt@gmail.com>2018-03-26 19:47:40 -0400
commitaa0ea689348c0e47e9d2805c8a1b9d77b24a00ae (patch)
tree550f590ed0e5bfacac51c598cf2226b7c76e9e6e /arch.mk
parentf69c02efe1ecb668c857b46b0605717054974cb3 (diff)
Add VSTs to Windows installer, zip distribution
Diffstat (limited to 'arch.mk')
-rw-r--r--arch.mk13
1 files changed, 9 insertions, 4 deletions
diff --git a/arch.mk b/arch.mk
index cf26b179..c9fb5979 100644
--- a/arch.mk
+++ b/arch.mk
@@ -3,17 +3,22 @@
ifndef ARCH
MACHINE = $(shell gcc -dumpmachine)
-ifneq (,$(findstring linux,$(MACHINE)))
+ifneq (, $(findstring linux, $(MACHINE)))
# Linux
ARCH = lin
-else ifneq (,$(findstring apple,$(MACHINE)))
+else ifneq (, $(findstring apple, $(MACHINE)))
# Mac
ARCH = mac
-else ifneq (,$(findstring mingw,$(MACHINE)))
+else ifneq (, $(findstring mingw, $(MACHINE)))
# Windows
ARCH = win
+ifneq ( ,$(findstring x86_64, $(MACHINE)))
+ BITS = 64
+else ifneq (, $(findstring i686, $(MACHINE)))
+ BITS = 32
+endif
else
- $(error Could not determine machine type. Try hacking around in arch.mk)
+$(error Could not determine machine type. Try hacking around in arch.mk)
endif
endif \ No newline at end of file