Makefile.am 752 Bytes
Newer Older
david_v's avatar
david_v committed
1
2
3
4
5
6
7
8
9
include $(top_srcdir)/config/Makefile.xt
include $(top_srcdir)/config/check-rules.mk

# Each test case depends on defs.
check_SCRIPTS = defs

defs: $(top_builddir)/config/defs
	ln -s $(top_builddir)/config/defs .

10
11
$(TESTS): test.test
	for i in $(TESTS); do ln -fs $< $$i; done
david_v's avatar
david_v committed
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29

TESTS = \
		ctor1.test \
		dead1.test \
		dtor1.test \
		filter1.test \
		filter2.test \
		loop1.test \
		omit-frame-pointer.test \
		registers1.test \
		spec1.test \
		synth1.test \
		template1.test \
		template2.test \
		unexpected1.test

EXTRA_DIST	= test.test $(TESTS:.test=.C)

30
CLEANFILES	= defs \
david_v's avatar
david_v committed
31
32
33
34
35
		  $(TESTS) \
		  $(TESTS:.test=.visamb) \
                  $(TESTS:.test=.disambcc) \
                  $(TESTS:.test=.diff) \
                  $(TESTS:.test=.astcc2)