carlito913 / editor-on-fire

Automatically exported from code.google.com/p/editor-on-fire
Other
0 stars 0 forks source link

patch for makefile.macosx #291

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I made a couple changes to the mac makefile quite a while back so it'd compile 
properly, but I never submitted it, so I figured better late than never! It's 
just the CFLAGS line, dropping the ppc arch (since ppc has been 
unused/unsupported for years now) & adding `allegro-config --cflags` to the end 
(which adds the necessary -I/usr/local/include (or wherever allegro includes 
were installed)).

$ svn diff 
Index: src/makefile.macosx
===================================================================
--- src/makefile.macosx (revision 1378)
+++ src/makefile.macosx (working copy)
@@ -1,5 +1,5 @@
 CC = gcc
-CFLAGS = -O2 -fomit-frame-pointer -ffast-math -arch i386 -arch ppc 
-mmacosx-version-min=10.5 -funroll-loops -Ialogg/include -DEOF_BUILD
+CFLAGS = -O2 -fomit-frame-pointer -ffast-math -arch i386           
-mmacosx-version-min=10.5 -funroll-loops -Ialogg/include -DEOF_BUILD 
`allegro-config --cflags`
 CXXFLAGS = $(CFLAGS)
 LIBS = `allegro-config --libs` -framework Cocoa -framework Carbon -framework IOKit -framework System -framework CoreAudio -framework AudioUnit -framework AudioToolBox -framework QuickTime -framework Accelerate -logg -lvorbis -lvorbisfile -lm -lfftw3 -lrubberband -lstdc++

Original issue reported on code.google.com by ea.th1rtyf0ur on 25 Mar 2015 at 2:59