common.mk (281B)
1 .POSIX: 2 3 include ../../../config.mk 4 5 all clean distclean: system.mk 6 $(MAKE) ABI=$(ABI) -f ../libsys.mk $@ 7 8 system.mk: syscall.lst 9 rm -f $@; trap "rm -f $$$$.mk" 0 2 3; \ 10 awk 'BEGIN{printf "OBJ = "} \ 11 ! /^#/ {printf "%s.o ", $$2}' syscall.lst > $$$$.mk && \ 12 mv $$$$.mk $@