warp-vpn

point to point VPN implementation
git clone git://git.2f30.org/warp-vpn
Log | Files | Refs | README

commit 7f965011f8e27aaafb8617b0d58b90173121da60
parent 1f6a67becbfda9dd710fbff590dbc295979f0c7f
Author: sin <sin@2f30.org>
Date:   Mon, 21 Mar 2016 10:18:23 +0000

Fix dist target and use wall by default

Diffstat:
MMakefile | 16++++++----------
Mconfig.mk | 2+-
2 files changed, 7 insertions(+), 11 deletions(-)

diff --git a/Makefile b/Makefile @@ -22,16 +22,12 @@ ${OBJ}: config.mk ${HDR} .c.o: ${CC} -c ${CFLAGS} ${CPPFLAGS} -o $@ -c $< -dist: $(BIN) - rm -rf release/${VERSION} - mkdir -p release/${VERSION} - cp -f ${MAN1} ${DOC} ${HDR} \ - ${SRC} Makefile config.mk \ - release/${VERSION}/ - # make tarball - rm -f stun-${VERSION}.tar.gz - (cd release/${VERSION}; \ - tar -czf ../../stun-${VERSION}.tar.gz .) +dist: + mkdir -p stun-${VERSION} + cp LICENSE Makefile README arg.h config.mk stun.c stun-${VERSION} + tar cf stun-${VERSION}.tar stun-${VERSION} + gzip stun-${VERSION}.tar + rm -rf stun-${VERSION} clean: rm -f ${BIN} ${OBJ} ${LIB} diff --git a/config.mk b/config.mk @@ -14,7 +14,7 @@ RANLIB = ranlib #LDFLAGS = -lcrypto # optimized -CFLAGS = -O2 -std=c99 +CFLAGS = -O2 -std=c99 -Wall LDFLAGS = -lcrypto -s # optimized static