blob: 63518afe160cd703d4f65c2913867a79c67f2fe8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
CXX=g++
CC=g++
CFLAGS+=-isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4
CFLAGS+=-Wall
LDFLAGS+=-framework IOKit -framework Carbon -framework ForceFeedback
OBJS = iremoted.o AppleRemote.o
TARGET = ../../../osx/XBMCHelper
CLEAN_FILES=$(TARGET)
all: $(TARGET)
$(TARGET): $(OBJS)
g++ $(LDFLAGS) $(OBJS) -o $(TARGET)
.cpp.o:
$(CXX) -c $(CFLAGS) $(DEFINES) $(INCLUDES) $< -o ${<:.cpp=.o}
.c.o:
$(CC) -c $(CFLAGS) $(DEFINES) $(INCLUDES) $< -o ${<:.c=.o}
clean:
$(RM) -rf *.o ../../../osx/XBMCHelper
|