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
|
||||
*.qfo
|
||||
*.sym
|
||||
.deps
|
||||
.vimrc
|
||||
|
|
|
@ -13,10 +13,11 @@ game_source = \
|
|||
world.r
|
||||
|
||||
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
|
||||
@$(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 $@ $<
|
||||
|
||||
%.qfo: %.qc
|
||||
|
@ -29,5 +30,6 @@ game.dat: $(game_obj) ../lib/libr.pak
|
|||
|
||||
clean:
|
||||
rm -f *.qfo *.dat *.sym *.d
|
||||
rm -rf .deps
|
||||
|
||||
-include $(game_dep)
|
||||
|
|
1
ruamoko/include/.gitignore
vendored
1
ruamoko/include/.gitignore
vendored
|
@ -2,4 +2,5 @@
|
|||
*.dat
|
||||
*.qfo
|
||||
*.sym
|
||||
.deps
|
||||
.vimrc
|
||||
|
|
1
ruamoko/lib/.gitignore
vendored
1
ruamoko/lib/.gitignore
vendored
|
@ -3,4 +3,5 @@
|
|||
*.pak
|
||||
*.qfo
|
||||
*.sym
|
||||
.deps
|
||||
.vimrc
|
||||
|
|
|
@ -7,9 +7,11 @@ libr_source = \
|
|||
object.r
|
||||
|
||||
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
|
||||
@mkdir -p .deps
|
||||
@$(QFCC) -M -q $(QCPPFLAGS) -c $< | sed -e 's/\.r\.o\>/.qfo/' > .deps/`basename $@ .qfo`.d
|
||||
$(QFCC) $(QCFLAGS) $(QCPPFLAGS) -c -o $@ $<
|
||||
|
||||
%.qfo: %.qc
|
||||
|
|
Loading…
Reference in a new issue