help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Running makefiles from emacs


From: Emanuel Berg
Subject: Re: Running makefiles from emacs
Date: Fri, 02 Jul 2021 06:32:00 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

mrf wrote:

> this community it's nice place to share nice hack

It could be, at least.

> But I have something surpasses this and I don't use it in my
> article because it's too old, anyway take this:
>
> /*****************/
> /* script.c file */
> /*****************/
> #if 0
> #//if file is not yet compiled
> if [ -f $(basename $0 .c) ]
> then
>   printf ""
> else
>   gcc $CFLAGS $CXXFLAGS $LDFLAGS $0 -o `basename $0 .c` && exec ./`basename 
> $0 .c` "$@";
> fi [...]

   DIY Build System
     For Dummies
 the fun and easy way

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

[Prev in Thread] Current Thread [Next in Thread]