FW: compile from command line without xcode
FW: compile from command line without xcode
- Subject: FW: compile from command line without xcode
- From: "Mirek Rusin" <email@hidden>
- Date: Fri, 4 Jul 2008 12:09:27 +0100
- Organization: Ringley Ltd
Dear All,
Having my tool in a single file source.m:
--- source.m ---
#import <Foundation/Foundation.h>
int main (void) {
NSAutoreleasePool *pool = [NSAutoreleasePool new];
NSLog(@"hello!");
[pool release];
return 0;
}
--- source.m ---
And make file looking like this:
--- GNUmakefile ---
MAKEFILEDIR = /Developer/Makefiles/project
include ${MAKEFILEDIR}/common.make
TOOL_NAME = App
App_OBJC_FILES = source.m
include ${MAKEFILEDIR}/tool.make
--- GNUmakefile ---
When typing `make`, nothing happens except obj/ directory is being created.
How should GNUmakefile/Makefile look like in order to compile this example?
Mirek Rusin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden