mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +00:00
make menu.dat dependent on qfcc
This commit is contained in:
parent
fb0318621d
commit
b98e52fb53
1 changed files with 3 additions and 2 deletions
|
@ -5,7 +5,8 @@ AUTOMAKE_OPTIONS= foreign
|
|||
#searched after everything else?
|
||||
pkgdatadir=@sharepath@/id1
|
||||
|
||||
QFCC=$(top_builddir)/tools/qfcc/source/qfcc
|
||||
QFCC_DEP=$(top_builddir)/tools/qfcc/source/qfcc$(EXEEXT)
|
||||
QFCC=$(QFCC_DEP)
|
||||
QCFLAGS=-qq -g -Werror
|
||||
QCPPFLAGS=-I. -I$(srcdir) -I$(top_builddir)/include -I$(top_srcdir)/include
|
||||
GZIP=if echo $@ | grep -q .gz; then gzip -f `basename $@ .gz`; if test -f `basename $@ .dat.gz`.sym; then gzip -f `basename $@ .dat.gz`.sym; fi; fi
|
||||
|
@ -24,7 +25,7 @@ menu_src= \
|
|||
menu_def.qc menu_pics.qc menu_util.qc options.qc options_util.qc \
|
||||
servlist.qc string_def.qc stringh_def.qc object.r
|
||||
|
||||
menu.dat$(GZ): menu.src $(menu_src)
|
||||
menu.dat$(GZ): menu.src $(menu_src) $(QFCC_DEP)
|
||||
$(QFCC) $(QCFLAGS) $(QCPPFLAGS) -p $(STRIP) -P $<
|
||||
$(GZIP)
|
||||
|
||||
|
|
Loading…
Reference in a new issue