diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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 $@ $^ |