[TxMt] Re: Help setting up run.
Alex Ross
z-textmate at lasersox.net
Fri Feb 26 03:42:46 UTC 2010
Hey Ted,
There is a Make bundle distributed with TextMate. I think this is the ideal way to run a makefile. The “Build” command is bound on ⌘B. You can build a specific target with ⌘⌥B.
—Alex
On Feb 24, 2010, at 9:22 AM, Eduardo Gutarra wrote:
> Hi everyone,
>
> I want to set a command to run a makefile to build
> a CUDA, and run it from the Debug/ folder. However
> I hate hardcoding the name of the executable, is it possible
> to use a variable that depends on the file I'm standing on
> or the name of the director from which make is being executed
>
> Also, I would like to make an alternate command with which I
> can tell make what target to execute.
>
> . "$TM_SUPPORT_PATH/lib/webpreview.sh"
> html_header "Running make"
>
> make ${TM_MAKE_FLAGS} 2>&1|"${TM_RUBY:-ruby}" -rtm_parser -eTextMate.parse_errors
>
> Debug/Sum 2>&1|"${TM_RUBY:-ruby}" -rtm_parser -eTextMate.parse_errors
>
> echo "Done."
> html_footer
>
> Any help appreciated,
> Ted
>
>
>
>
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
More information about the textmate
mailing list