nuclear@0: COPT = -O3 -Wall -Werror nuclear@0: BIN = /usr/local/bin nuclear@0: VERSION = 0.3 nuclear@0: nuclear@0: dterm: dterm.c nuclear@0: gcc ${COPT} -o dterm dterm.c -DVERSION='"$(VERSION)"' nuclear@0: nuclear@0: install: nuclear@0: install dterm ${BIN} nuclear@0: nuclear@0: clean: nuclear@0: rm -f dterm *.o *.bak nuclear@0: nuclear@0: package: dterm.c LICENCE.txt README.txt Makefile nuclear@0: mkdir -p dterm-$(VERSION) nuclear@0: cp dterm.c LICENCE.txt README.txt Makefile dterm-$(VERSION) nuclear@0: tar cfvz dterm-$(VERSION).tgz dterm-$(VERSION) nuclear@0: rm -rf dterm-$(VERSION)