Improve makefile for OS X

This commit is contained in:
Simon 2011-03-22 15:53:16 +00:00
parent 647ff2bff0
commit cdd1c3eda7

View File

@ -70,7 +70,7 @@ powder-sse.exe: $(SOURCES) powder-res.o
powder-x: $(SOURCES)
gcc -o $@ $(CFLAGS) $(OFLAGS) $(LFLAGS_X) $(MFLAGS) $(SOURCES) -DMACOSX -DPIX32BGRA -arch x86_64 -framework Cocoa -framework SDL
strip $@
mv $@ build
mv $@ build/Powder.app/Contents/MacOS/
powder-x-ogl: $(SOURCES)
gcc -o $@ $(CFLAGS) $(OFLAGS) $(LFLAGS_X) $(MFLAGS) $(SOURCES) -DOpenGL -DMACOSX -DPIX32BGRA -arch x86_64 -framework Cocoa -framework SDL -framework OpenGL
strip $@