From c40022a6af519fcabf254fca95a93b8c16b65d9b Mon Sep 17 00:00:00 2001 From: Daniel Collins Date: Thu, 16 Jun 2011 16:53:53 +0000 Subject: [PATCH] Added 'dist' target to Makefile. --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index 232a298..9f5e111 100644 --- a/Makefile +++ b/Makefile @@ -27,6 +27,12 @@ clean: rm -f src/*.o rm -f src/*_stubs.s +dist: all + mkdir ipxwrapper-$(VERSION) + cp changes.txt license.txt readme.txt ipxwrapper.dll mswsock.dll wsock32.dll ipxconfig.exe ipxwrapper-$(VERSION)/ + zip -r ipxwrapper-$(VERSION).zip ipxwrapper-$(VERSION)/ + rm -r ipxwrapper-$(VERSION)/ + ipxwrapper.dll: $(IPXWRAPPER_DEPS) $(CC) $(CFLAGS) -Wl,--enable-stdcall-fixup,-s -shared -o ipxwrapper.dll $(IPXWRAPPER_DEPS) -liphlpapi