Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (16 sloc) 524 Bytes
CC=gcc
SIM_PRIVATE_FRAMEWORK_DIR?=/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/PrivateFrameworks
CFLAGS=-std=c99 -Wall -Werror -I. -ISource
LDFLAGS=-framework AppKit -F${SIM_PRIVATE_FRAMEWORK_DIR} -framework iPhoneSimulatorRemoteClient -Wl,-rpath -Wl,${SIM_PRIVATE_FRAMEWORK_DIR}
OBJS= \
Source/main.o \
Source/nsprintf.o \
Source/iPhoneSimExample.o
.SUFFIXES: .m
.m.o:
${CC} ${CFLAGS} -c $< -o $@
all: iphonesim
iphonesim: ${OBJS}
${CC} -o $@ ${OBJS} ${LDFLAGS}
clean:
rm -f ${OBJS} iphonesim
Something went wrong with that request. Please try again.