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>
This commit is contained in:
parent
e93572e6be
commit
76c49379b7
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue