diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2016-10-04 14:56:37 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2016-10-04 14:56:37 -0700 |
commit | 76c49379b7c92ea0c1395d3b186ecc8bddeae5c8 (patch) | |
tree | 1c2b06eabc529fa9f004beb8ddf39775357d9750 /test | |
parent | e93572e6becbc68d3da0fb869c8feba8edafec47 (diff) | |
download | nasm-76c49379b7c92ea0c1395d3b186ecc8bddeae5c8.tar.gz |
test/Makefile: add rule to generate preprocessor output
Add a rule in the test directory to run the preprocessor.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/Makefile b/test/Makefile index a76044d4..f0fc5aa6 100644 --- a/test/Makefile +++ b/test/Makefile @@ -47,6 +47,9 @@ $(NASM): %.asm: %.pl $(PERL) $< > $@ +%.i: %.asm $(NASM) + $(NASM) $(NASMOPT) -E -o $@ $< + all: golden: performtest.pl $(TESTS) @@ -60,7 +63,7 @@ diff: performtest.pl $(NASM) $(TESTS) clean: rm -f *.com *.o *.o64 *.obj *.win32 *.win64 *.exe *.lst *.bin - rm -f *.dbg *.coff *.ith *.srec *.mo32 *.mo64 + rm -f *.dbg *.coff *.ith *.srec *.mo32 *.mo64 *.i rm -rf testresults rm -f elftest elftest64 |