File: makerules.OSX

package info (click to toggle)
powder 118%2Bdfsg1-1
  • links: PTS
  • area: non-free
  • in suites: buster
  • size: 10,528 kB
  • sloc: cpp: 55,308; java: 824; makefile: 541; sh: 260; objc: 245; ansic: 107; xml: 55; csh: 54
file content (18 lines) | stat: -rw-r--r-- 826 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
ifeq ($(CXXFLAGS),)
    CXXFLAGS=-O3
endif

.cpp.o:
	$(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

.m.o:
	$(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

all: $(TARGET)

$(TARGET): $(OFILES)
	$(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

clean:
	$(RM) $(OFILES)
	$(RM) $(TARGET)