make building the whole lot easier

This commit is contained in:
Bill Currie 2002-08-14 15:59:27 +00:00
parent bbaaaae81c
commit f39c65e236
4 changed files with 14 additions and 0 deletions

5
ruamoko/.gitignore vendored Normal file
View file

@ -0,0 +1,5 @@
*.d
*.dat
*.qfo
*.sym
.vimrc

5
ruamoko/Makefile Normal file
View file

@ -0,0 +1,5 @@
SUBDIRS=lib game
all clean:
@for subdir in $(SUBDIRS); do ( \
cd $$subdir && $(MAKE) $@ \
) done

View file

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

View file

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