File: Makefile.in

package info (click to toggle)
bock 0.20.2.1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,228 kB
  • ctags: 1,370
  • sloc: ansic: 7,367; java: 5,553; yacc: 963; lex: 392; makefile: 243; sh: 90; perl: 42
file content (40 lines) | stat: -rw-r--r-- 872 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Makefile -- build rules for BOCK
# Written by Charles Briscoe-Smith; refer to the file ../LEGAL for details.

srcdir = @srcdir@
VPATH = @srcdir@

default: check

@SET_MAKE@

    CC = @CC@
CFLAGS = -Wall -Werror @CFLAGS@ @DEFS@ -I@srcdir@

.DELETE_ON_ERROR:

.SUFFIXES: .java

../bock:
	$(MAKE) -C .. bock

check: dofloattest doexceptionstest
	@echo '***' All tests passed.

dofloattest: floattest
	./floattest > floattest.output
	diff -i floattest.output floattest.output.expected
	@echo '***' Your C compiler seems to use IEEE floats.

doexceptionstest: exceptions
	./exceptions null do divide test > exceptions.output
	diff exceptions.output exceptions.output.expected
	@echo '***' Your compiler seems to handle setjmp/longjmp as expected.

clean:
	$(RM) *.o core
	$(RM) floattest floattest.output
	$(RM) exceptions exceptions.output

distclean: clean
	$(RM) Makefile