summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-01-30 08:19:28 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-01-30 08:19:28 +0000
commit349843cb326ee7e88ac595a06b42dc41a58c7247 (patch)
tree2f19efe2821b41eb7f2aacc243ac80863476ff24 /Makefile
parent88d712478a82cad28ddaefb164d5d2df832bb98b (diff)
downloadsntpc-349843cb326ee7e88ac595a06b42dc41a58c7247.tar.bz2
sntpc-349843cb326ee7e88ac595a06b42dc41a58c7247.tar.xz
release 0.9v0.9
- inverted -b option - option -n turns on verbose - set time before forking so we lock til time is correct - fix usage - print version with -V
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 $@ $^