1
int main (int argc, char *argv[])
{

  NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];

  NSLog(@"Hello World!");

  [pool drain];
  return 0;
}

This is my program. I have run it on my friends iMac, and there are no problems with the code. How do I make the makefiles I have been hearing about on GNUstep?

N_A
  • 19,799
  • 4
  • 52
  • 98
  • 1
    What do you mean by "makefiles I have been hearing about?" Have you started with the GNUstep developers tools? http://www.gnustep.org/experience/DeveloperTools.html – Rob Napier May 02 '12 at 14:17
  • Yes, I have installed the latest MSYS, Core, and Devel packages, installed in that order. I have read about "make files that people are able to use to compile their programs in GNUstep. What are those, and how do you create them? – DanielPincus May 02 '12 at 15:24

1 Answers1

0

Have you looked at the GNUstep Makefile tutorial? Also the GNUstep make documentation? You should find common.make in the packages you installed already.

Rob Napier
  • 286,113
  • 34
  • 456
  • 610
  • Thanks! Could you give me an example of putting the makefile definition into my code? They are not very clear on the whereabouts of where you put each line in your code. Thanks again! – DanielPincus May 03 '12 at 00:19