2002-05-31 19:24:56 +00:00
|
|
|
QWAQ_LIBS=@QWAQ_LIBS@
|
|
|
|
QWAQ_DEPS=@QWAQ_DEPS@
|
|
|
|
QWAQ_INCS=@QWAQ_INCS@
|
|
|
|
|
|
|
|
INCLUDES= -I$(top_srcdir)/include $(QWAQ_INCS)
|
|
|
|
|
2003-08-06 18:20:48 +00:00
|
|
|
QFCC_DEP=$(top_builddir)/tools/qfcc/source/qfcc$(EXEEXT)
|
2002-05-31 06:55:35 +00:00
|
|
|
QFCC=$(top_builddir)/tools/qfcc/source/qfcc
|
2003-09-20 05:24:57 +00:00
|
|
|
QCFLAGS=-qq -g -Werror --advanced
|
2002-05-31 06:55:35 +00:00
|
|
|
|
2002-09-17 22:19:14 +00:00
|
|
|
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
|
2002-05-31 06:55:35 +00:00
|
|
|
|
|
|
|
qwaq_dat_src= \
|
2002-05-31 19:24:56 +00:00
|
|
|
defs.qc main.qc test.r
|
2002-05-31 06:55:35 +00:00
|
|
|
|
|
|
|
qwaq_SOURCES= main.c builtins.c
|
2002-05-31 19:24:56 +00:00
|
|
|
qwaq_LDADD= $(QWAQ_LIBS)
|
|
|
|
qwaq_DEPENDENCIES= $(QWAQ_DEPS)
|
2002-05-31 06:55:35 +00:00
|
|
|
|
2003-08-06 18:20:48 +00:00
|
|
|
qwaq.dat: progs.src $(qwaq_dat_src) $(QFCC_DEP) $(top_srcdir)/ruamoko/lib/Object.r
|
2002-08-15 18:51:58 +00:00
|
|
|
$(QFCC) $(QCFLAGS) -I$(top_srcdir)/ruamoko/include
|
2002-05-31 06:55:35 +00:00
|
|
|
|
2003-01-08 16:07:45 +00:00
|
|
|
EXTRA_DIST=$(qwaq_dat_src) qwaq.h
|
2002-05-31 06:55:35 +00:00
|
|
|
CLEANFILES= *.dat *.sym
|