sbase.mk (337B)
1 BIN = `{ls *.c | sed 's/..$//' | grep -v '^cp$\|^tar$\|^grep$'} 2 OBJ = ${BIN:%=%.o} 3 LIB = util.a 4 LOBJ = `{ls util/*.c | sed 's/.$/o/'} 5 INSTALL_BIN = `{ls *.c | sed 's/..$//' | grep -v '^cp$\|^tar$\|^grep$'} 6 INSTALL_MAN1 = `{ls *.1 | grep -v '^cp\.1$\|^tar\.1$\|^grep\.1$'} 7 NPROC = $nprocs 8 9 <$mkbuild/mk.common 10 11 &:n: &.o $LIB 12 13 $LIB: $LOBJ