Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
thorsummoner
ttt_terrorcon
Commits
d3969b16
Commit
d3969b16
authored
Jul 20, 2021
by
dylan grafmyre
Browse files
snap
parent
aa260e8c
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
d3969b16
...
...
@@ -19,7 +19,7 @@ RAD_FLAGS?=$(VBIN_FLAGS) -StaticPropLighting -bounce 2 -noextra
BSPZIP_BIN
?=
$(SUPERVISE_V_BIN)
$(VBIN_DIR)
bspzip.exe
BSPZIP_FLAGS
?=
$(VBIN_FLAGS)
GEN_BSPZIP_ADDLIST_BIN
?=
./contrib/gen-bspzip-addlist
GEN_BSPZIP_ADDLIST_BIN
?=
$(PYTHON_BIN)
./contrib/gen-bspzip-addlist
GEN_BSPZIP_ADDLIST_FLAGS
?=
--pack-used-local
# my take on compiling
...
...
@@ -49,11 +49,11 @@ all: ttt_terrorcon_v2.bsp ttt_terrorcon_v2.lint ttt_terrorcon_v2.game
$(GEN_BSPZIP_ADDLIST_BIN)
$(GEN_BSPZIP_ADDLIST_FLAGS)
$^
>
$@
%.game
:
%.bsp
ifeq
(
$(GAME)
,0
)
echo
user disabled run game via
GAME
=
0
else
$(GARYSMOD_DIR)$(GAME)
-allowdebug
$(VBIN_FLAGS)
+map
$(
notdir
$(
basename
$^
))
+gamemode terrortown +ttt_debug_preventwin 1 +ttt_preptime_seconds 10 +ttt_minimum_players 1
endif
ifeq
($(GAME),0)
echo
user disabled run game via
GAME
=
0
else
$(GARYSMOD_DIR)$(GAME)
-allowdebug
$(VBIN_FLAGS)
+map
$(
notdir
$(
basename
$^
))
+gamemode terrortown +ttt_debug_preventwin 1 +ttt_preptime_seconds 10 +ttt_minimum_players 1
endif
install
:
ttt_terrorcon_v2_hdr_final_p.bsp
cp
-v
$^
$(MOD_DIR)
maps
\\
...
...
ttt_terrorcon_v2.vmf
View file @
d3969b16
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment