summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 4f06514..9ed1f7c 100644
--- a/Makefile
+++ b/Makefile
@@ -44,8 +44,9 @@ MAP ?= analmango
# Creating a .pk3 with all the assets
#
-analmango.pk3: $(WHOLE).bsp
- xargs zip -r9 analmango.pk3 < pk3.list
+PK3 ?= analmango.pk3
+$(PK3): $(WHOLE).bsp
+ cat pk3.list | (while read ent; do echo $$ent; done) | xargs zip -r9 $(PK3)
#
# Testing a map