]> mj.ucw.cz Git - arexx.git/blobdiff - Makefile
Added "--version" switch
[arexx.git] / Makefile
index 823a8c600e017d585b4d96a9ecd32e67cba2bd7d..e6b3d4c73a311d5d55e1f8917dc33799cba7cbc5 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@ ARCHIVE=arexxd-$(VERSION).tar.gz
 
 CC=gcc
 LD=gcc
-CFLAGS=-O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wredundant-decls -std=gnu99
+CFLAGS=-O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wredundant-decls -std=gnu99 -DAREXXD_VERSION='"$(VERSION)"'
 LDLIBS=-lusb-1.0 -lm -lrrd
 
 all: arexxd