Revert "make: Remove generated files on clean target"

This reverts commit b6c7291b3d.

We already have this cleanup stage in "cleaner" target, I managed
to miss it.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
Cyrill Gorcunov 2013-10-28 11:35:55 +04:00
parent b6c7291b3d
commit 32019da3a4

View file

@ -179,15 +179,13 @@ 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.sed version.nsh
version.h version.mac version.mak version.nsh
perlreq: $(PERLREQ)
# Generated manpages, also pregenerated for distribution
@ -207,7 +205,6 @@ 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