[ale] GNU Makefile auto target
Derek Carter
derek at goozbach.com
Wed Jun 10 13:38:36 EDT 2020
make it the first target in the makefile
```
.PHONY: all
all: foo
foo: foo.c
gcc -o foo foo.c
```
On Wed, Jun 10, 2020 at 7:30 AM Chris Fowler via Ale <ale at ale.org> wrote:
> Is it possible to declare a target in GNU make which will always be
> execute first? Even is I specify a target on the command line as in 'make
> all'.
>
> Chris
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> https://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.ale.org/pipermail/ale/attachments/20200610/94d4dfcf/attachment.html>
More information about the Ale
mailing list