mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-12-25 04:00:58 +00:00
35 lines
723 B
Makefile
35 lines
723 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
|
|
|
|
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
|