dterm-nuc

annotate Makefile @ 0:ad098a33fd34

initial commit of my fork of dterm
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 07 Apr 2017 23:43:06 +0300
parents
children 5a80b73208dd
rev   line source
nuclear@0 1 COPT = -O3 -Wall -Werror
nuclear@0 2 BIN = /usr/local/bin
nuclear@0 3 VERSION = 0.3
nuclear@0 4
nuclear@0 5 dterm: dterm.c
nuclear@0 6 gcc ${COPT} -o dterm dterm.c -DVERSION='"$(VERSION)"'
nuclear@0 7
nuclear@0 8 install:
nuclear@0 9 install dterm ${BIN}
nuclear@0 10
nuclear@0 11 clean:
nuclear@0 12 rm -f dterm *.o *.bak
nuclear@0 13
nuclear@0 14 package: dterm.c LICENCE.txt README.txt Makefile
nuclear@0 15 mkdir -p dterm-$(VERSION)
nuclear@0 16 cp dterm.c LICENCE.txt README.txt Makefile dterm-$(VERSION)
nuclear@0 17 tar cfvz dterm-$(VERSION).tgz dterm-$(VERSION)
nuclear@0 18 rm -rf dterm-$(VERSION)