summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2013-10-27 21:15:47 +0400
committerCyrill Gorcunov <gorcunov@gmail.com>2013-10-27 21:15:47 +0400
commitb6c7291b3d1f904b20955c3f9829b8cc92801227 (patch)
tree592bea17370ecc1651bbcb9e9980f76832de4b38
parent8bbf299307622eea29e68164e526d2e37cc15716 (diff)
downloadnasm-b6c7291b3d1f904b20955c3f9829b8cc92801227.tar.gz
nasm-b6c7291b3d1f904b20955c3f9829b8cc92801227.tar.bz2
nasm-b6c7291b3d1f904b20955c3f9829b8cc92801227.zip
make: Remove generated files on clean target
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
-rw-r--r--Makefile.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index d692dd2..09a1e00 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -179,13 +179,15 @@ directiv.h: directiv.dat directiv.pl perllib/phash.ph
directiv.c: directiv.dat directiv.pl perllib/phash.ph
$(PERL) $(srcdir)/directiv.pl c $(srcdir)/directiv.dat directiv.c
+
+
# This target generates all files that require perl.
# This allows easier generation of distribution (see dist target).
PERLREQ = macros.c insnsb.c insnsa.c insnsd.c insnsi.h insnsn.c \
regs.c regs.h regflags.c regdis.c regdis.h regvals.c \
tokhash.c tokens.h pptok.h pptok.c pptok.ph \
directiv.c directiv.h \
- version.h version.mac version.mak version.nsh
+ version.h version.mac version.mak version.sed version.nsh
perlreq: $(PERLREQ)
# Generated manpages, also pregenerated for distribution
@@ -205,6 +207,7 @@ clean:
$(RM) -f output/*.$(O) output/*.s output/*.i
$(RM) -f nasm$(X) ndisasm$(X)
$(RM) -f tags TAGS
+ $(RM) -f $(PERLREQ)
cd rdoff && $(MAKE) clean
distclean: clean