Created
April 30, 2014 11:20
-
-
Save anonymous/626242249065b31f39d9 to your computer and use it in GitHub Desktop.
Patch the OpenXCOM makefile to autodetect an OSX build, and set the target and hence build options, automatically. Fixes the autobuilder for OSX.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/Makefile.simple b/src/Makefile.simple | |
index ccdade2..5bd206e 100644 | |
--- a/src/Makefile.simple | |
+++ b/src/Makefile.simple | |
@@ -3,7 +3,9 @@ | |
# Put DINGOO for Dingoo A320 builds. | |
# Put OSX for MacOSX 10.7 unix-style builds. | |
TARGET = | |
- | |
+ifeq ($(shell uname),Darwin) | |
+TARGET = OSX | |
+endif | |
# Directories and files | |
OBJDIR = ../obj/ | |
BINDIR = ../bin/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment