mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2024-11-21 20:01:43 +00:00
Blah
This commit is contained in:
parent
db177ba685
commit
d214682124
1 changed files with 3 additions and 1 deletions
4
Makefile
4
Makefile
|
@ -1224,8 +1224,9 @@ define DO_REF_STR
|
|||
$(echo_cmd) "REF_STR $<"
|
||||
$(Q)rm -f $@
|
||||
$(Q)echo "const char *fallbackShader_$(notdir $(basename $<)) =" >> $@
|
||||
$(Q)cat $< | sed -e 's/^\(.*\)$$/\"\1\\n\"/' >> $@
|
||||
$(Q)cat $< | perl -pe 's/^(.*)$$/\"$$1\\n\"/' >> $@
|
||||
$(Q)echo ";" >> $@
|
||||
$(Q)cat $@
|
||||
endef
|
||||
|
||||
define DO_BOT_CC
|
||||
|
@ -2702,6 +2703,7 @@ $(B)/renderergl1/%.o: $(RGL1DIR)/%.c
|
|||
$(B)/renderergl1/tr_altivec.o: $(RGL1DIR)/tr_altivec.c
|
||||
$(DO_REF_CC_ALTIVEC)
|
||||
|
||||
.PRECIOUS: $(B)/renderergl2/glsl/%.c
|
||||
$(B)/renderergl2/glsl/%.c: $(RGL2DIR)/glsl/%.glsl
|
||||
$(DO_REF_STR)
|
||||
|
||||
|
|
Loading…
Reference in a new issue