[go: up one dir, main page]

File: Makefile.am

package info (click to toggle)
z80dasm 1.1.0-1
  • links: PTS
  • area: main
  • in suites: lenny, squeeze
  • size: 484 kB
  • ctags: 145
  • sloc: ansic: 2,118; sh: 844; makefile: 98
file content (24 lines) | stat: -rw-r--r-- 565 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
# Makefile using z80asm
# The output of the assembler can be parsed by vim or emacs.

EXTRA_DIST = 	test.bin \
		test.blocks \
		stress

TEST_CASES =	test.asm
	
test: $(TEST_CASES) stress_test cleantest

stress_test: stress
	./stress $(top_builddir)/src/z80dasm 20

%.asm: %.bin %.blocks
	$(top_builddir)/src/z80dasm -at $(srcdir)/$< -o $@
	z80asm $@ -o $<-generated
	diff $<-generated $(srcdir)/$<
	$(top_builddir)/src/z80dasm -atl $(srcdir)/$< -b $*.blocks -o $@
	z80asm $@ -o $<-generated
	diff $<-generated $(srcdir)/$<

cleantest:
	rm -f *.asm *.bin-generated