]> mj.ucw.cz Git - nwho.git/blobdiff - Makefile
Implemented --version
[nwho.git] / Makefile
index 98a6d5449d1b10372b88803e3798e4eea2b12c0c..4ad4601315a12d452e373c6bb29f6dde384ba96a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,18 +1,17 @@
 # Makefile for the nwho toolkit
 
-CFLAGS=-O2 -Wall -Wno-parentheses
+VERSION=1.12
+CFLAGS=-O2 -Wall -Wno-parentheses -DVERSION=$(VERSION)
 LDFLAGS=-s
 ROOT=/
-REL=nwho-1.12
+REL=nwho-$(VERSION)
 
 all: nwhod nwho
 
 nwhod: nwhod.o
-
 nwhod.o: nwhod.c nwho.h
 
 nwho: nwho.o
-
 nwho.o: nwho.c nwho.h
 
 clean: