From nbinder@gmx.de Tue Jul 29 16:09:22 2008 From: Nikolaus Binder To: textmate@lists.macromates.com Subject: [TxMt] Re: Run makefile instead of xcode project Date: Tue, 29 Jul 2008 18:09:08 +0200 Message-ID: In-Reply-To: <9EB12508-851E-4FDD-8F87-DFE8F00AA6F4@rosiba.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5344442549685092392==" --===============5344442549685092392== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Hi Alex, hi all, I am using this one: cd $TM_PROJECT_DIRECTORY /usr/bin/make Which works fine, one last question: Is it possible to do something like "build and run", meaning: make and then run it? Does anybody have an idea how this could be achieved? Right now I am running the program through the makefile which is not a good solution. (Am I the only one to use gcc/make instead of an xcode project?) Thank you very much for your help so far, Nick Am 29.07.2008 um 13:28 schrieb Alex Ross: > > On Jul 29, 2008, at 12:43 PM, Nikolaus Binder wrote: > >> Hi Alex, >> >> thank you for your help... I already found that but am a bit stuck >> exactly at that point... it doesn't find make... thought someone >> had a >> small script as this is nothing too special. > > Ah, I thought there was already a command to run the makefile but it > seems that there isn't. > > You can easily create a command to do this. Create a new command with > contents: > > echo "
"
>     cd $(basename $TM_FILEPATH)
>     make
>     echo "
> > Set Input: None, Output: Show as HTML and bind the command to CMD+R. > > > > _______________________________________________ > textmate mailing list > textmate(a)lists.macromates.com > http://lists.macromates.com/listinfo/textmate --===============5344442549685092392==--