dterm-nuc
diff 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 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/Makefile Fri Apr 07 23:43:06 2017 +0300 1.3 @@ -0,0 +1,18 @@ 1.4 +COPT = -O3 -Wall -Werror 1.5 +BIN = /usr/local/bin 1.6 +VERSION = 0.3 1.7 + 1.8 +dterm: dterm.c 1.9 + gcc ${COPT} -o dterm dterm.c -DVERSION='"$(VERSION)"' 1.10 + 1.11 +install: 1.12 + install dterm ${BIN} 1.13 + 1.14 +clean: 1.15 + rm -f dterm *.o *.bak 1.16 + 1.17 +package: dterm.c LICENCE.txt README.txt Makefile 1.18 + mkdir -p dterm-$(VERSION) 1.19 + cp dterm.c LICENCE.txt README.txt Makefile dterm-$(VERSION) 1.20 + tar cfvz dterm-$(VERSION).tgz dterm-$(VERSION) 1.21 + rm -rf dterm-$(VERSION)