exe.mk (274B)
1 .include "c.mk" 2 .include "man.mk" 3 4 ${name}: ${lib} 5 ${CC} ${LDFLAGS} -o ${name} ${obj} ${LDLIBS} 6 7 install: ${name} installman 8 cp -f ${name} ${PREFIX}/bin/${name} 9 10 uninstall: uninstallman 11 rm -f ${PREFIX}/bin/${name} 12 13 clean: 14 rm -f ${name} ${obj} 15 16 .PHONY: install uninstall