Debian Codegraph @

make/makerules.OSX

raw
1 ifeq ($(CXXFLAGS),)
2 CXXFLAGS=-O3
3 endif
4
5 .cpp.o:
6 $(CXX) -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -DLINUX -DMACOSX -I../sdl -I/Library/Frameworks/SDL.framework/Headers -c $< -o $@ $(CXXFLAGS) -mmacosx-version-min=10.5
7
8 .m.o:
9 $(CXX) -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -DLINUX -DMACOSX -I../sdl -I/Library/Frameworks/SDL.framework/Headers -c $< -o $@ $(CXXFLAGS) -mmacosx-version-min=10.5
10
11 all: $(TARGET)
12
13 $(TARGET): $(OFILES)
14 $(CXX) -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -framework Cocoa -framework SDL -o $(TARGET) $(OFILES) $(CXXFLAGS) -mmacosx-version-min=10.5
15
16 clean:
17 $(RM) $(OFILES)
18 $(RM) $(TARGET)