Makefile (263B)
1PREFIX ?= /usr/local 2BINDIR ?= /bin 3 4CFLAGS = -g 5 6all: splice 7 8clean: 9 rm -f splice 10 11splice: splice.c 12 13install: 14 install -m 755 splice -t "$(DESTDIR)$(PREFIX)$(BINDIR)" 15 16uninstall: 17 rm -f "$(DESTDIR)$(PREFIX)$(BINDIR)/splice" 18 19.PHONY: all clean install uninstall