summaryrefslogtreecommitdiff
path: root/pkg/win32/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/win32/GNUmakefile')
-rw-r--r--pkg/win32/GNUmakefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/pkg/win32/GNUmakefile b/pkg/win32/GNUmakefile
index 93c6abe1..626f1845 100644
--- a/pkg/win32/GNUmakefile
+++ b/pkg/win32/GNUmakefile
@@ -11,7 +11,9 @@ DLL_FILES=$(TOPLEVEL)/src/SDL.dll \
$(TOPLEVEL)/src/SDL_mixer.dll \
$(TOPLEVEL)/src/SDL_net.dll
-$(PACKAGE_TARNAME)-$(PACKAGE_VERSION)-win32.zip : staging
+ZIP=$(PACKAGE_TARNAME)-$(PACKAGE_VERSION)-win32.zip
+
+$(ZIP) : staging
zip -j -r $@ staging/
staging: $(EXE_FILES) $(DLL_FILES) $(patsubst %,../../%,$(DOC_FILES))
@@ -24,3 +26,7 @@ staging: $(EXE_FILES) $(DLL_FILES) $(patsubst %,../../%,$(DOC_FILES))
unix2dos staging/$$f.txt; \
done
+clean:
+ rm -f $(ZIP)
+ rm -rf staging
+