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:
Bill Currie 2010-01-13 08:24:06 +00:00
parent 3bfcdf61c0
commit b2819cad3c

View file

@ -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