FW: compile from command line without xcode
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Organization: Ringley Ltd Thread-index: AcjdxC447Raftdt+SQC6MD9w9RyEnAAAjEog 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 (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Mirek Rusin