From 24b5a6bdda8f09593dd908c3fc69315ebb3754e1 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 22 Dec 2017 11:40:43 +0100 Subject: Add version information and --version --- Makefile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 4af6135..3c835aa 100644 --- a/Makefile +++ b/Makefile @@ -41,16 +41,17 @@ LIBS+=-g -lowfat -lssl -lcrypto %: %.c $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) ${LIBS} -ldadp: tmpbuffer.o ini.o client.o server.o helper.o proxy.o epoll.o openssl.o ldap.a asn1.a +ldadp: version.in.h tmpbuffer.o ini.o client.o server.o helper.o proxy.o epoll.o openssl.o ldap.a asn1.a + +version.in.h: + ./gen-version qndtest: ldap.a asn1.a -.PHONY: clean tar -clean: - rm -f *.[ao] ldadp qndtest +.PHONY: clean version.in.h -tar: clean - cd ..; tar cvvf ldadp.tar.bz2 ldadp --use=bzip2 --exclude capture --exclude .git +clean: + rm -f -- *.[ao] ldadp qndtest version.in.h bindrequest.o: bindrequest.c ldap.h -- cgit v1.2.3-55-g7522