Closed xyproto closed 6 years ago
Only formatting changes, nitpicks and minor tweaks:
./test.sh
$CC
make
gcc
?=
.PHONY
all
default
rm -f
clean
CFLAGS
+=
name() {
function name {
wc $^
Only formatting changes, nitpicks and minor tweaks:
./test.sh
take the lisp executable as the first argument.$CC
be specified when runningmake
by the user but withgcc
as the default (?=
)..PHONY
for make targets that does not produce anything.all
instead ofdefault
in the Makefile (just a bit more common).rm -f
is conventional for theclean
target.CFLAGS
add options to the end of the string with+=
.name() {
is shorter thanfunction name {
, and more compatible with the syntax of other shells than bash, should that ever be a wish.wc $^
is shorter.