# $Id$ TARGET=rebootd default: build build: ${TARGET} run: build ./${TARGET} clean: -rm ${TARGET} install: cp ${TARGET} /usr/local/sbin/${TARGET} cp rc.d-${TARGET} /usr/local/etc/rc.d/${TARGET} uninstall: deinstall deinstall: -rm /usr/local/sbin/${TARGET} /usr/local/etc/rc.d/${TARGET} help: usage usage: @echo "Usage: make " @echo "Arguments:" @echo " build = build files [default]" @echo " clean = remove development build files" @echo " deinstall = remove binary and supporting files" @echo " help = currently reading ;-)" @echo " install = install binary and supporting files" @echo " run = build and run"