Yves-Marie Morgan
yves-marie.morgan@parrot.com
make
./prog [arg ..]
make
cp -f prog morgan
./morgan clobber
ls
./morgan all install
ls
./prog love haste waste supernova
ls
make
./prog magic
ls
Think of this as a Maker Faire’s make. :-)
It works reasomably well. While not super ultra-featured, it does fair well with the Makefile we supplied. Not only that, it helped uncover a bug we had in our special Makefile rules.
This program is a tiny make
clone.
It is able to parse a subset of the make
syntax and will execute rules for
goals given in arguments if they need to (based on timestamp of dependencies
of rule targets).
name=value
.It should be able to build programs of previous years with the provided Makefile
found in previous contest archives. Simply use this program instead of make
.
It will recursively use itself for submake (the MAKE=
assignment inside
Makefile
will be ignored to continue using itself).
Makefile
.$<
and $@
are supported for automatic variables in commands.-j
option).:=
+=
?=
syntax for variable assignment.with gcc 4.8.2 on Linux Ubuntu 14.04 64-bit : * prog.c:22:15: warning: return makes integer from pointer without a cast [enabled by default] * prog.c:23:72: warning: signed and unsigned type in conditional expression [-Wsign-compare] * prog.c:12:11: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
© Copyright 1984-2015,
Leo Broukhis, Simon Cooper, Landon Curt Noll
- All rights reserved |