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 ae9e7a0..7091542 100644
--- a/Makefile
+++ b/Makefile
@@ -45,8 +45,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