--- /dev/null
+#!/bin/bash
+PATH=/apl/n42/pre/bin:$PATH exec /apl/tel/exec.sh uikittools make "$@"
all: uialert
%: %.mm
- arm-apple-darwin-g++ -o $@ $< -framework CoreFoundation -framework Foundation -framework UIKit -lobjc
- arm-apple-darwin-strip $@
+ $${PKG_TARG}-g++ -o $@ $< -framework CoreFoundation -framework Foundation -framework UIKit -lobjc
-#include <UIKit/UIKit.h>
+#import <Foundation/Foundation.h>
+#import <UIKit/UIKit.h>
+
#include <unistd.h>
+#include <cstdlib>
int argc_;
char **argv_;
argv_ = argv;
char *args[] = {
- "AlertSheet", NULL
+ (char *) "AlertSheet", NULL
};
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];