[TxMt] Compile small objc project (.h, .m and main)

Panagiotis Atmatzidis atma at convalesco.org
Tue Mar 31 15:40:21 UTC 2009


Greetings to everyone,

How is it possible to compile a small program via short-cut. Until now  
I've used apple-cmd+R (RUN/Compile via xCode) in my .m files  
(objective-c). Via command usually I do something like this:

Angel:Fraction atma$ ls
Fraction.h      Fraction.m      main.m
Angel:Fraction atma$ gcc Fraction.m main.m -o Fraction -l objc
Angel:Fraction atma$ ./Fraction
  5 / 10 = 0.5
  0 / 0 = 0
Angel:Fraction atma$

Best regards & thanks in advance


Panagiotis (atma) Atmatzidis

email:	atma at convalesco.org
URL:	http://www.convalesco.org
--
The wise man said: "Never argue with an idiot. They bring you down to  
their level and beat you with experience."




More information about the textmate mailing list