diff options
author | Simon Rettberg | 2017-12-22 11:40:43 +0100 |
---|---|---|
committer | Simon Rettberg | 2017-12-22 11:40:43 +0100 |
commit | 24b5a6bdda8f09593dd908c3fc69315ebb3754e1 (patch) | |
tree | 71b72641416040fe15864f8aeb77377b6ba376c7 /Makefile | |
parent | Fix compile error (diff) | |
download | ldadp-24b5a6bdda8f09593dd908c3fc69315ebb3754e1.tar.gz ldadp-24b5a6bdda8f09593dd908c3fc69315ebb3754e1.tar.xz ldadp-24b5a6bdda8f09593dd908c3fc69315ebb3754e1.zip |
Add version information and --version
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -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 |