mkbuild

mk based build system
git clone git://git.2f30.org/mkbuild.git
Log | Files | Refs | LICENSE

commit 4ea915b9144540b363119976407e29fdac06984b
parent c1ccd3a0f9279d64d3be44c161e07625f3f5508d
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Sun Jul 13 20:05:15 +0000

mk.build: be verbose

Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>

Diffstat:
mk.build | 10+++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/mk.build b/mk.build @@ -1,21 +1,21 @@ all:QV: $DEPS $TARG $LIB $BIN - + TARG = `{ if test "$TARG" != ""; then echo $TARG; else echo "NOTARG"; fi } BIN = `{ if test "$BIN" != ""; then echo $BIN; else echo "NOBIN"; fi } LIB = `{ if test "$LIB" != ""; then echo $LIB; else echo "NOLIB"; fi } `{ printf "# Auto-generated file by mk, do not edit\n\n" > .targs.mk } -`{ for i in $BIN; do tobj=$(echo $i|tr '.' '_'|tr '/' '_'); printf "$i:Q: \$"$tobj"_OBJ\n\techo LD \$target\n\t\$LD \$prereq \$LDFLAGS \$DEPS_LDFLAGS \$LOCAL_LDFLAGS \$"$tobj"_LDFLAGS \$LOCAL_BIN_LDFLAGS -o \$target\n\n" ; done >> .targs.mk } -`{ for i in $LIB; do tobj=$(echo $i|tr '.' '_'|tr '/' '_'); printf "$i:Q: \$"$tobj"_OBJ\n\techo AR \$target\n\t\$AR -rv \$target \$prereq\n\techo RANLIB \$target\n\t\$RANLIB \$target\n\n" ; done >> .targs.mk } +`{ for i in $BIN; do tobj=$(echo $i|tr '.' '_'|tr '/' '_'); printf "$i: \$"$tobj"_OBJ\n\techo LD \$target\n\t\$LD \$prereq \$LDFLAGS \$DEPS_LDFLAGS \$LOCAL_LDFLAGS \$"$tobj"_LDFLAGS \$LOCAL_BIN_LDFLAGS -o \$target\n\n" ; done >> .targs.mk } +`{ for i in $LIB; do tobj=$(echo $i|tr '.' '_'|tr '/' '_'); printf "$i: \$"$tobj"_OBJ\n\techo AR \$target\n\t\$AR -rv \$target \$prereq\n\techo RANLIB \$target\n\t\$RANLIB \$target\n\n" ; done >> .targs.mk } <.targs.mk <$mkbuild/mk.deps -%.o:Q: %.c +%.o: %.c echo CC $stem.o $CC $CFLAGS $DEPS_CFLAGS $LOCAL_CFLAGS $CPPFLAGS -c $stem.c -o $stem.o -%.c:Q: %.y +%.c: %.y echo YACC $stem.y $YACC $stem.y mv -f y.tab.c $stem.c