mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-17 18:30:58 +00:00
34 lines
643 B
Makefile
34 lines
643 B
Makefile
QWAQ_LIBS=@QWAQ_LIBS@
|
|
QWAQ_DEPS=@QWAQ_DEPS@
|
|
QWAQ_INCS=@QWAQ_INCS@
|
|
|
|
INCLUDES= -I$(top_srcdir)/include $(QWAQ_INCS)
|
|
|
|
QFCC=$(top_builddir)/tools/qfcc/source/qfcc
|
|
QCFLAGS=-qq -g -Werror
|
|
|
|
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) $(top_srcdir)/ruamoko/lib/Object.r
|
|
$(QFCC) $(QCFLAGS) -I$(top_srcdir)/ruamoko/include
|
|
|
|
EXTRA_DIST=$(qwaq_dat_src) qwaq.h
|
|
CLEANFILES= *.dat *.sym
|