Fixed "make clean" for out-of-tree builds

This commit is contained in:
Clifford Wolf 2015-08-12 16:54:30 +02:00
parent e4ef000b70
commit fc20b1c3d2
1 changed files with 1 additions and 1 deletions

View File

@ -397,7 +397,7 @@ manual: $(TARGETS) $(EXTRA_TARGETS)
clean:
rm -rf share
cd manual && bash clean.sh
if test -d manual; then cd manual && sh clean.sh; fi
rm -f $(OBJS) $(GENFILES) $(TARGETS) $(EXTRA_TARGETS) $(EXTRA_OBJS)
rm -f kernel/version_*.o kernel/version_*.cc abc/abc-[0-9a-f]*
rm -f libs/*/*.d frontends/*/*.d passes/*/*.d backends/*/*.d kernel/*.d techlibs/*/*.d