bug fix: disable generate failure when not requested
[charm.git] / tests / util / Makefile
1 CHARMC=../../bin/charmc $(OPTS)
2
3 LINKLINE=$(CHARMC) -o check check.o -language converse++
4
5 all: check
6
7 check: check.o
8         $(LINKLINE)
9
10 check.o: check.C
11         $(CHARMC) -c check.C
12
13 headerpad: headerpad.o
14         $(CHARMC) -language charm++ -o headerpad headerpad.o -tracemode recordreplay
15
16 headerpad.decl.h: headerpad.ci
17         $(CHARMC)  headerpad.ci
18
19 headerpad.o: headerpad.C headerpad.decl.h headerpad.h
20         $(CHARMC) -c headerpad.C
21
22
23 test: check
24         ./charmrun +p1 ./check $(TESTOPTS)
25         @echo tests if MACHINE_DEBUG is enabled in machine.h and fails if it is set
26         @if test -f "debugLog.0"; then echo "MACHINE_DEBUG is enabled"; false; fi
27
28 clean:
29         rm -f conv-host *.o *.bak *.log check.sts *~ charmrun charmrun.exe check.exe check.pdb check.ilk debugLog.*