Fix make dist for qfcc's test.

This commit is contained in:
Bill Currie 2012-11-22 15:47:28 +09:00
parent 99b34232f8
commit a5a7780a21

View file

@ -25,19 +25,19 @@ test_harness_SOURCES= test-bi.c test-harness.c
test_harness_LDADD= $(QFCC_TEST_LIBS)
test_harness_DEPENDENCIES= $(QFCC_TEST_DEPS)
structptr_src=structptr.r
structptr_obj=$(structptr_src:.r=.qfo)
structptr_dat_SOURCES=structptr.r
structptr_obj=$(structptr_dat_SOURCES:.r=.qfo)
structptr.dat: $(structptr_obj) $(QFCC_DEP)
$(QFCC) $(QCFLAGS) -o $@ $(structptr_obj)
structptr.run: Makefile build-run
$(srcdir)/build-run $@
while_src=while.r
while_obj=$(while_src:.r=.qfo)
while_dat_SOURCES=while.r
while_obj=$(while_dat_SOURCES:.r=.qfo)
while.dat: $(while_obj) $(QFCC_DEP)
$(QFCC) $(QCFLAGS) -o $@ $(while_obj)
while.run: Makefile build-run
$(srcdir)/build-run $@
EXTRA_DIST= test-bi.h $(structptr_src) $(while_src)
EXTRA_DIST= test-bi.h build-run
CLEANFILES= *.dat *.sym *.qfo *.run