summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 260db1a..c41aa63 100644
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,13 @@
-TARGET=sntp
-SRC=sntp.c log.c util.c
+TARGET=sntpc
+SRC=sntpc.c log.c util.c
DISTFILES=$(SRC) Makefile ntp.h util.h log.h
-VERSION=0.8
+VERSION=0.9
P=$(TARGET)-$(VERSION)
CFLAGS ?= -Wall -Werror -DDEBUG
+CFLAGS += -DSNTPC_VERSION=\"$(VERSION)\"
$(TARGET): $(SRC)
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^