ports

morpheus ports
git clone git://git.2f30.org/ports.git
Log | Files | Refs | LICENSE

ubase.mk (422B)


      1 BIN = `{ls *.c | sed 's/..$//' | grep -v '^ps$'}
      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 '^ps$'}
      6 INSTALL_MAN1 = `{ls *.1}
      7 INSTALL_MAN8 = `{ls *.8}
      8 NPROC = $nprocs
      9 
     10 <$mkbuild/mk.common
     11 
     12 &:n: &.o $LIB
     13 
     14 $LIB: $LOBJ
     15 
     16 %.h: %.def.h
     17 	cp -f $prereq $target
     18 
     19 su: config.h
     20 login: config.h
     21 passwd: config.h
     22 getty: config.h
     23 who: config.h
     24 uptime: config.h