diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -5,6 +5,7 @@ FS_BASEPATH ?= $(HOME)/tremulous FS_HOMEBASE ?= .tremulous +TREMULOUS ?= tremulous Q3MAP ?= q3map2 Q3MAP_FLAGS += -fs_basepath $(FS_BASEPATH) -fs_homebase $(FS_HOMEBASE) \ @@ -32,7 +33,8 @@ PARTS := maps/p0_master.map \ maps/p6_engineering.map WHOLE := maps/analmango -.DEFAULT_GOAL := $(WHOLE).bsp +MAP ?= analmango +.DEFAULT_GOAL := maps/$(MAP).bsp -include Makefile.local @@ -44,6 +46,12 @@ analmango.pk3: $(WHOLE).bsp zip -r9 $@ maps/analmango.bsp scripts sound textures models # +# Testing a map +# +test: maps/$(MAP).bsp + $(TREMULOUS) +devmap $(MAP) + +# # Assembling the complete .map from parts # |