mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-22 10:21:21 +00:00
make building the whole lot easier
This commit is contained in:
parent
bbaaaae81c
commit
f39c65e236
4 changed files with 14 additions and 0 deletions
5
ruamoko/.gitignore
vendored
Normal file
5
ruamoko/.gitignore
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
*.d
|
||||
*.dat
|
||||
*.qfo
|
||||
*.sym
|
||||
.vimrc
|
5
ruamoko/Makefile
Normal file
5
ruamoko/Makefile
Normal file
|
@ -0,0 +1,5 @@
|
|||
SUBDIRS=lib game
|
||||
all clean:
|
||||
@for subdir in $(SUBDIRS); do ( \
|
||||
cd $$subdir && $(MAKE) $@ \
|
||||
) done
|
|
@ -22,6 +22,8 @@ game_dep = $(addsuffix .d,$(basename $(game_source)))
|
|||
%.qfo: %.qc
|
||||
$(QFCC) $(QCFLAGS) $(QCPPFLAGS) -c -o $@ $<
|
||||
|
||||
all: game.dat
|
||||
|
||||
game.dat: $(game_obj) ../lib/libr.pak
|
||||
$(QFCC) -qq -g -o $@ $(game_obj) -l../lib/libr.pak
|
||||
|
||||
|
|
|
@ -15,6 +15,8 @@ libr_dep = $(addsuffix .d,$(basename $(libr_source)))
|
|||
%.qfo: %.qc
|
||||
$(QFCC) $(QCFLAGS) $(QCPPFLAGS) -c -o $@ $<
|
||||
|
||||
all: libr.pak
|
||||
|
||||
libr.pak: $(libr_obj)
|
||||
pak -cf $@ $^
|
||||
|
||||
|
|
Loading…
Reference in a new issue