Ticket #10636: patch-c_src-Makefile.macOSX

File patch-c_src-Makefile.macOSX, 671 bytes (added by bfulgham@…, 18 years ago)
Line 
1--- c_src/Makefile.macOSX.orig  2006-08-31 20:11:15.000000000 -0700
2+++ c_src/Makefile.macOSX       2006-08-31 20:13:10.000000000 -0700
3@@ -13,9 +13,10 @@
4 
5 CC = cc
6 
7-CFLAGS = -g -O2 -Wall -D_THREAD_SAFE -D_OSX_COCOA -F$(HOME)/Library/Frameworks $(ERLINC)
8+CSDLFLAGS := $(shell sdl-config --cflags)
9+CFLAGS = -g -O2 -Wall -D_THREAD_SAFE -D_OSX_COCOA -F/System/Library/Frameworks -framework OpenGL $(CSDLFLAGS) -F$(HOME)/Library/Frameworks $(ERLINC)
10 
11-LDFLAGS = -F$(HOME)/Library/Frameworks -framework OpenGL -framework SDL -framework OpenGL -framework AGL -framework IOKit -framework Cocoa -L. -lsdlmain
12+LDFLAGS := $(shell sdl-config --static-libs)
13 
14 TARGETDIR = ../priv
15