mirror of
https://git.code.sf.net/p/quake/game-source
synced 2025-02-16 08:52:16 +00:00
Use -Cvector-calls when building the built-in waypoint files
The number of globals used in map_dm1.o dropped by about 50%, though I guess the code probably trippled in size.
This commit is contained in:
parent
3bfcdf61c0
commit
b2819cad3c
1 changed files with 5 additions and 0 deletions
|
@ -27,6 +27,11 @@ libfrikbot_source = \
|
|||
libfrikbot_obj = $(addsuffix .o,$(basename $(libfrikbot_source)))
|
||||
libfrikbot_dep = $(addprefix .deps/,$(addsuffix .d,$(basename $(libfrikbot_source))))
|
||||
|
||||
map_%.o: map_%.qc
|
||||
@mkdir -p .deps
|
||||
@$(QFCC) -M -q $(QCPPFLAGS) -c $< | sed -e 's/\(\.qc\)\?\.o\>/.o/' > .deps/`basename $@ .o`.d
|
||||
$(QFCC) $(QCFLAGS) -Cvector-calls $(QCPPFLAGS) -c -o $@ $<
|
||||
|
||||
%.o: %.r
|
||||
@mkdir -p .deps
|
||||
@$(QFCC) -M -q $(QCPPFLAGS) -c $< | sed -e 's/\(\.r\)\?\.o\>/.o/' > .deps/`basename $@ .o`.d
|
||||
|
|
Loading…
Reference in a new issue