File: Makefile

package info (click to toggle)
xa 2.4.1-0.1
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,356 kB
  • sloc: ansic: 8,585; asm: 845; makefile: 755; perl: 116; sh: 53
file content (51 lines) | stat: -rw-r--r-- 1,407 bytes parent folder | download
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
#
# Makefile for tests
#

XA=../../xa

CA65=ca65
LD65=ld65

tests: operatorsx.out assertx.out assertx.html linebreakx.out include1x.out listblocksx.html listca65x.html listca65_2x.html

operatorsx.out: operators.a65
	${XA} -P- -o operatorsx.o65 operators.a65 > $@
	../hextool -cmp=operators.out < $@

assertx.out: assert.a65
	${XA} -P- -o assertx.o65 assert.a65 > $@
	../hextool -cmp=assert.out < $@
	../hextool -cmp=assert.o65 < assertx.o65

assertx.html: assert.a65
	${XA} -P- -Fhtml -o assertx.o65 assert.a65 > $@
	../hextool -cmp=assert.html < $@

include1x.out: include1.a65
	${XA} -P- include1.a65 > $@
	../hextool -cmp=include1.out < $@

linebreakx.out: linebreak.a65
	${XA} -P- linebreak.a65 > $@
	../hextool -cmp=linebreak.out < $@

listblocksx.html: listblocks.a65
	${XA} -P- -Fhtml listblocks.a65 > $@
	../hextool -cmp=listblocks.html < $@

listca65x.html: listca65.a65
	${XA} -XCA65 -P- -Fhtml -o listca65x.o65 listca65.a65 > $@
	#${CA65} $>; ${LD65} -t none -o listca65.ca65 listca65.o; rm listca65.o
	../hextool -cmp=listca65.html < $@
	../hextool -cmp=listca65.ca65 < listca65x.o65

listca65_2x.html: listca65_2.a65
	${XA} -XCA65 -P- -Fhtml -o listca65_2x.o65 listca65_2.a65 > $@
	#${CA65} $>; ${LD65} -t none -o listca65_2.ca65 listca65_2.o; rm listca65_2.o
	../hextool -cmp=listca65_2.html < $@
	../hextool -cmp=listca65_2.ca65 < listca65_2x.o65

clean:
	rm -f *.err *x.out *x.html *x.o65