All pastes #815328 Raw Edit

Untitled

public text v1 · immutable
·published 2007-12-13 23:33 UTC
rendered paste body
CC=/usr/local/arm-apple-darwin/bin/gcc
CXX=/usr/local/arm-apple-darwin/bin/g++

CFLAGS=-fsigned-char -I/usr/local/arm-apple-darwin/include/ -I/usr/local/arm-apple-darwin/include/UIKit/  -O3

LDFLAGS=-lobjc -ObjC -framework CoreFoundation -framework Foundation -framework UIKit -framework LayerKit -framework CoreGraphics -framework GraphicsServices

LD=$(CC)
APPNAME=PrefsKit

all:	Start

Start:	main.o Start.o SplashScreen.o VSLog.o VSViewManager.o MainView.o
		$(LD) $(LDFLAGS) -o $@ $^
		cp Start bundle/
		scp Start root@10.0.1.200:/Applications/PrefsKit.app/

%.o:	%.m %.h
		$(CC) -c $(CFLAGS) $(CPPFLAGS) $< -o $@

package: Start
	rm -Rf $(APPNAME).app
	find bundle -type f -name .DS_Store -print0 | xargs -0 rm
	cp -R bundle $(APPNAME).app
	
	
clean:
		rm -f *.o App