diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2016-12-28 18:58:37 +0100 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2016-12-28 18:58:37 +0100 |
commit | 2173012dbc60284ede5d52ea939973f935fc01ed (patch) | |
tree | 2c11e1c10379cf6cb2fcc87b5a438f51172e3059 | |
parent | 734b6c613b6d8b1293eb625aff7e5c4fb48aae42 (diff) |
Add testing to the 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 # |