diff options
author | H. Peter Anvin <hpa@zytor.com> | 2017-05-01 15:09:44 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2017-05-01 15:09:44 -0700 |
commit | 08e71e7dc47027d6e9ef4f85189e8421f632fb13 (patch) | |
tree | 6eb71b04ae0ee67d05d1255ea73034aa522d8771 /test | |
parent | 91ac58dc65bfc91422cefb9edd77fa80365914cb (diff) | |
download | nasm-08e71e7dc47027d6e9ef4f85189e8421f632fb13.tar.gz |
test/Makefile: add a rule to run omfdump on an .obj file
omfdump is really useful while debugging obj output, so add an
explicit rule to generate omfdump output.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Makefile b/test/Makefile index 07e46f7d..feaada43 100644 --- a/test/Makefile +++ b/test/Makefile @@ -28,6 +28,9 @@ $(NASM): %.obj: %.asm $(NASM) $(NASM) $(NASMOPT) -f obj -o $@ -l $*.lst $< +%.od: %.obj ../misc/omfdump + ../misc/omfdump $< > $@ + %.coff: %.asm $(NASM) $(NASM) $(NASMOPT) -f coff -o $@ -l $*.lst $< |