Debian Codegraph @

delta/test0_delta/Makefile

raw symbols SCIP
1 # see delta/License.txt for copyright and terms of use
2
3 DELTA_BASE := ..
4
5 DELTA := $(DELTA_BASE)/delta
6
7 DELTA_FLAGS += -test=$(TEST)
8 DELTA_FLAGS += -quiet
9 #DELTA_FLAGS += -verbose
10 DELTA_FLAGS += -cp_minimal=$(MINIMAL)
11
12 MINIMAL := minimal_test.c
13 TEST := hello.test
14
15 .SUFFIXES:
16
17 .PHONY: check
18 check: clean
19 $(DELTA) $(DELTA_FLAGS) < hello.c
20 @if diff -u $(MINIMAL) minimal_test.c.correct; then \
21 echo "PASS"; \
22 else \
23 echo "**************** FAIL ****************"; \
24 false; \
25 fi
26
27 .PHONY: clean
28 clean:;
29 rm -f core a.out minimal_test.c hello DELTA-STOP *.o
30 rm -rf tmp*
31
32 # Build hello to see it run and check its return value.
33 hello: hello.c
34 gcc $^ -o $@