mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-17 02:11:35 +00:00
c8163fc0de
Despair has things locked down such that running qfcc during a build fails due to lack of read access to /usr/local/lib. This is actually a good thing as accidentally hitting old includes/libs (when a file gets deleted in the tree) hides bugs. Thus, --no-default-paths to turn off default search paths.
35 lines
742 B
Makefile
35 lines
742 B
Makefile
QWAQ_LIBS=@QWAQ_LIBS@
|
|
QWAQ_DEPS=@QWAQ_DEPS@
|
|
QWAQ_INCS=@QWAQ_INCS@
|
|
|
|
INCLUDES= -I$(top_srcdir)/include $(QWAQ_INCS)
|
|
|
|
QFCC_DEP=$(top_builddir)/tools/qfcc/source/qfcc$(EXEEXT)
|
|
QFCC=$(top_builddir)/tools/qfcc/source/qfcc
|
|
QCFLAGS=-qq -g -Werror --advanced --no-default-paths
|
|
|
|
if BUILD_QWAQ
|
|
qwaq=qwaq
|
|
data=qwaq.dat
|
|
else
|
|
qwaq=
|
|
data=
|
|
endif
|
|
|
|
noinst_PROGRAMS=$(qwaq)
|
|
noinst_DATA=$(data)
|
|
EXTRA_PROGRAMS=qwaq
|
|
EXTRA_DATA=qwaq.dat
|
|
|
|
qwaq_dat_src= \
|
|
defs.qc main.qc test.r
|
|
|
|
qwaq_SOURCES= main.c builtins.c
|
|
qwaq_LDADD= $(QWAQ_LIBS)
|
|
qwaq_DEPENDENCIES= $(QWAQ_DEPS)
|
|
|
|
qwaq.dat: progs.src $(qwaq_dat_src) $(QFCC_DEP) $(top_srcdir)/ruamoko/lib/Object.r
|
|
$(QFCC) $(QCFLAGS) -I$(top_srcdir)/ruamoko/include
|
|
|
|
EXTRA_DIST=$(qwaq_dat_src) qwaq.h
|
|
CLEANFILES= *.dat *.sym
|