mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-18 06:51:47 +00:00
hide the .d files
This commit is contained in:
parent
f39c65e236
commit
a88b8e07b5
5 changed files with 10 additions and 3 deletions
1
ruamoko/game/.gitignore
vendored
1
ruamoko/game/.gitignore
vendored
|
@ -2,4 +2,5 @@
|
||||||
*.dat
|
*.dat
|
||||||
*.qfo
|
*.qfo
|
||||||
*.sym
|
*.sym
|
||||||
|
.deps
|
||||||
.vimrc
|
.vimrc
|
||||||
|
|
|
@ -13,10 +13,11 @@ game_source = \
|
||||||
world.r
|
world.r
|
||||||
|
|
||||||
game_obj = $(addsuffix .qfo,$(basename $(game_source)))
|
game_obj = $(addsuffix .qfo,$(basename $(game_source)))
|
||||||
game_dep = $(addsuffix .d,$(basename $(game_source)))
|
game_dep = $(addprefix .deps/,$(addsuffix .d,$(basename $(game_source))))
|
||||||
|
|
||||||
%.qfo: %.r
|
%.qfo: %.r
|
||||||
@$(QFCC) -M $(QCPPFLAGS) -c $< | sed -e 's/\.r\.o\>/.qfo/' > `basename $@ .qfo`.d
|
@mkdir -p .deps
|
||||||
|
@$(QFCC) -q -M $(QCPPFLAGS) -c $< | sed -e 's/\.r\.o\>/.qfo/' > .deps/`basename $@ .qfo`.d
|
||||||
$(QFCC) $(QCFLAGS) $(QCPPFLAGS) -c -o $@ $<
|
$(QFCC) $(QCFLAGS) $(QCPPFLAGS) -c -o $@ $<
|
||||||
|
|
||||||
%.qfo: %.qc
|
%.qfo: %.qc
|
||||||
|
@ -29,5 +30,6 @@ game.dat: $(game_obj) ../lib/libr.pak
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f *.qfo *.dat *.sym *.d
|
rm -f *.qfo *.dat *.sym *.d
|
||||||
|
rm -rf .deps
|
||||||
|
|
||||||
-include $(game_dep)
|
-include $(game_dep)
|
||||||
|
|
1
ruamoko/include/.gitignore
vendored
1
ruamoko/include/.gitignore
vendored
|
@ -2,4 +2,5 @@
|
||||||
*.dat
|
*.dat
|
||||||
*.qfo
|
*.qfo
|
||||||
*.sym
|
*.sym
|
||||||
|
.deps
|
||||||
.vimrc
|
.vimrc
|
||||||
|
|
1
ruamoko/lib/.gitignore
vendored
1
ruamoko/lib/.gitignore
vendored
|
@ -3,4 +3,5 @@
|
||||||
*.pak
|
*.pak
|
||||||
*.qfo
|
*.qfo
|
||||||
*.sym
|
*.sym
|
||||||
|
.deps
|
||||||
.vimrc
|
.vimrc
|
||||||
|
|
|
@ -7,9 +7,11 @@ libr_source = \
|
||||||
object.r
|
object.r
|
||||||
|
|
||||||
libr_obj = $(addsuffix .qfo,$(basename $(libr_source)))
|
libr_obj = $(addsuffix .qfo,$(basename $(libr_source)))
|
||||||
libr_dep = $(addsuffix .d,$(basename $(libr_source)))
|
libr_dep = $(addprefix .deps/,$(addsuffix .d,$(basename $(libr_source))))
|
||||||
|
|
||||||
%.qfo: %.r
|
%.qfo: %.r
|
||||||
|
@mkdir -p .deps
|
||||||
|
@$(QFCC) -M -q $(QCPPFLAGS) -c $< | sed -e 's/\.r\.o\>/.qfo/' > .deps/`basename $@ .qfo`.d
|
||||||
$(QFCC) $(QCFLAGS) $(QCPPFLAGS) -c -o $@ $<
|
$(QFCC) $(QCFLAGS) $(QCPPFLAGS) -c -o $@ $<
|
||||||
|
|
||||||
%.qfo: %.qc
|
%.qfo: %.qc
|
||||||
|
|
Loading…
Reference in a new issue