[qwaq] Bring in qc gcd to use for debugger testing

It was even recent enough to compile first try.
This commit is contained in:
Bill Currie 2020-03-24 23:02:19 +09:00
parent fd0700f9ae
commit 9bfd14b687
2 changed files with 9 additions and 1 deletions

View file

@ -6,7 +6,7 @@ QWAQ_INCS=@QWAQ_INCS@
AM_CPPFLAGS= -I$(top_srcdir)/include $(QWAQ_INCS) $(PTHREAD_CFLAGS)
noinst_PROGRAMS=@QWAQ_TARGETS@ qwaq-app.dat$(EXEEXT)
noinst_PROGRAMS=@QWAQ_TARGETS@ qwaq-app.dat$(EXEEXT) gcd.dat$(EXEEXT)
QFCC_DEP=$(top_builddir)/tools/qfcc/source/qfcc$(EXEEXT)
QFCC=$(top_builddir)/tools/qfcc/source/qfcc
@ -90,6 +90,14 @@ qwaq-app.dat$(EXEEXT): $(qwaq_app_obj) $(QFCC_DEP)
include $(qwaq_app_dep) # am--include-marker
r_depfiles_remade += $(qwaq_app_dep)
gcd_dat_SOURCES=gcd.r
gcd_obj=$(gcd_dat_SOURCES:.r=.o)
gcd_dep=$(addprefix ./$(DEPDIR)/,$(gcd_obj:.o=.Qo))
gcd.dat$(EXEEXT): $(gcd_obj) $(QFCC_DEP)
$(QLINK) -o $@ $(gcd_obj) -lcsqc -lr
include $(gcd_dep) # am--include-marker
r_depfiles_remade += $(gcd_dep)
$(r_depfiles_remade):
@$(MKDIR_P) $(@D)
@echo '# dummy' >$@-t && $(am__mv) $@-t $@