~akkartik/basic-build

749ae780a801e1efaddcbcbe63f75516a77b92ed — Kartik K. Agaram 2 years ago 6241e9a
don't make readers think of Prolog the language
1 files changed, 2 insertions(+), 2 deletions(-)

M build
M build => build +2 -2
@@ 3,7 3,7 @@

set -e  # stop immediately on error

## prolog: environment defaults
## prologue: environment defaults
test "$CC" || export CC=cc
test "$CFLAGS" || export CFLAGS="-g -O3"
# some additional flags for safety


@@ 45,7 45,7 @@ older_than a.out x.c && {
  $CC $CFLAGS x.c
}

## epilog
## epilogue
# if we got to the end, signal success
# otherwise you incorrectly signal failure when the final target is not older_than its dependencies
exit 0