File: Makefile.in

package info (click to toggle)
gdb 10.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 310,600 kB
  • sloc: ansic: 1,939,705; asm: 342,615; exp: 164,493; cpp: 69,350; makefile: 59,036; sh: 25,131; yacc: 13,167; ada: 5,758; xml: 5,461; perl: 5,334; python: 4,761; pascal: 3,220; lisp: 1,575; tcl: 1,541; f90: 1,395; cs: 879; lex: 620; sed: 234; awk: 141; objc: 137; fortran: 62
file content (53 lines) | stat: -rw-r--r-- 1,053 bytes parent folder | download | duplicates (36)
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
41
42
43
44
45
46
47
48
49
50
51
52
53
CC=gcc
CFLAGS = -Wall -Werror -I../../common -I../../../include -g
default: check


# Verify SIM-BITS

check: bits32m0.ok bits32m31.ok bits64m0.ok bits64m63.ok
all: bits32m0 bits32m31 bits64m0 bits64m63

bits32m0.c: bits-gen bits-tst.c
	./bits-gen 32 0 big > tmp-bits32m0.c
	cat bits-tst.c >> tmp-bits32m0.c
	mv tmp-bits32m0.c bits32m0.c
bits32m31.c: bits-gen bits-tst.c
	./bits-gen 32 31 little > tmp-bits32m31.c
	cat bits-tst.c >> tmp-bits32m31.c
	mv tmp-bits32m31.c bits32m31.c
bits64m0.c: bits-gen bits-tst.c
	./bits-gen 64 0 big > tmp-bits64m0.c
	cat bits-tst.c >> tmp-bits64m0.c
	mv tmp-bits64m0.c bits64m0.c
bits64m63.c: bits-gen bits-tst.c
	./bits-gen 64 63 little > tmp-bits64m63.c
	cat bits-tst.c >> tmp-bits64m63.c
	mv tmp-bits64m63.c bits64m63.c



# Verify SIM-FPU
#
#check: fpu-tst.ok
#all: fpu-tst



# Verify SIM-ALU

check: alu-tst.ok
all: alu-tst
alu-tst.o: alu-tst.c alu-n-tst.h

clean:
	rm -f *.o
	rm -f *.ok
	rm -f bits32m0 bits32m31 bits64m0 bits64m63 bits-gen
	rm -f tmp-*
	rm -f alu-tst

.SUFIXES: .ok
%.ok: %
	./$<
	touch $<.ok