User Tools

Site Tools


how_to_use_xcode2_as_ide_on_a_mac

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
how_to_use_xcode2_as_ide_on_a_mac [2007/09/10 23:18]
audiocommander fixed typo
how_to_use_xcode2_as_ide_on_a_mac [2011/07/22 14:51] (current)
digineural removed spam
Line 80: Line 80:
  
 PATH=/​usr/​local/​bin:​$PATH PATH=/​usr/​local/​bin:​$PATH
 +cd "​$SRCROOT"​
 +./​tools/​mkmk.pl "​$SRCROOT/​MAKEFILE.SPEC"​
 +echo Makefile replaced.
  
-cd $SRCROOT/​tools +exit 0 
-./mkmk.pl $SRCROOT/MAKEFILE.SPEC+</code>
  
 +for Xcode 3 you need to strip the quotes:
 +<code bash>
 +# shell script goes here
 +
 +PATH=/​usr/​local/​bin:​$PATH
 +cd $SRCROOT/​tools
 +./mkmk.pl "​$SRCROOT/​MAKEFILE.SPEC"​
 echo Makefile replaced. echo Makefile replaced.
-echo Success. 
  
 exit 0 exit 0
 +</​code>​
 +
 +If you get an error like "line x: ./mkmk.pl: Permission denied",​ you need to give the perl script execute rights. Easiest way to do this is open your favorite FTP program and set "​Executeable"​ or use the Terminal:
 +<​code>​
 +chmod 750 <drag mkmk.pl in terminal window, path should appear)
 </​code>​ </​code>​
  
Line 110: Line 124:
 PATH=/​usr/​local/​bin:​$PATH PATH=/​usr/​local/​bin:​$PATH
  
-cd $SRCROOT+cd "$SRCROOT"
 make make
  
 exit 0 exit 0
 </​code>​ </​code>​
 +
 +For XCode 3.0 (under Leopard) do not forget to remove the quotes around the $SRCROOT (the variable points to your project directory).
  
 As you see, the only trick is, to invoke the makefile. As you see, the only trick is, to invoke the makefile.
Line 141: Line 157:
  
 If you have questions, feel free to post them here: http://​www.midibox.org/​forum/​index.php?​topic=6527.0 If you have questions, feel free to post them here: http://​www.midibox.org/​forum/​index.php?​topic=6527.0
 +
 +
how_to_use_xcode2_as_ide_on_a_mac.1189466310.txt.gz · Last modified: 2007/10/14 22:19 (external edit)