Explorar o código

used gcc for building osx; updated makefile accordingly

Josh Bicking %!s(int64=8) %!d(string=hai) anos
pai
achega
dfe683a2a5
Modificáronse 2 ficheiros con 6 adicións e 1 borrados
  1. 6 1
      Makefile
  2. BIN=BIN
      bin/osx/FalloutTerminal-osx.zip

+ 6 - 1
Makefile

@@ -1,4 +1,9 @@
-CC = gcc
+ifeq ($(shell uname -s),Darwin)
+	CC = /usr/local/Cellar/gcc/5.3.0/bin/gcc-5 
+else
+	CC = gcc
+endif 
+
 CFLAGS = -std=c99
 
 # DEBUGGING FLAGS

BIN=BIN
bin/osx/FalloutTerminal-osx.zip