All pastes #939215 Raw Edit

Something

public text v1 · immutable
·published 2008-03-12 03:27 UTC
rendered paste body
CC=/Developer/Platforms/Aspen.platform/Developer/usr/bin/g++-4.0
CFLAGS=-fsigned-char
LDFLAGS=-Wl,-dead_strip -framework CoreFoundation -framework Foundation -framework UIKit -framework CoreGraphics -framework CoreAudi
o
INCLUDES=-I../app 
LDFLAGS_FRAMEWORKSDIR=-F/usr/local/share/iphone-filesystem/System/Library/ 
LD=$(CC)
ARFLAGS=-rsv
AR=ar
CFLAGS=-O3 -mfpu=vfp -mfloat-abi=softfp -isysroot /Developer/Platforms/Aspen.platform/Developer/SDKs/Aspen1.2.sdk -arch armv6 -bundl
e -ffast-math -fsigned-char $(INCLUDES)
RESULT = app

SRC=plugin.cpp
OBJ=$(SRC:.cpp=.o)

all: $(RESULT)

$(RESULT):      $(OBJ)
        $(CC) -o $(RESULT) $(CFLAGS) $(LDFLAGS) $(OBJ)
        cp $(RESULT) OSS3D.plugin/

%.o:    %.cpp
        $(CC) -c $(CFLAGS) -o $@ $<

clean:  
                rm -f *.o $(RESULT)