From: Ivan Maidanski Date: Mon, 9 Jan 2017 07:53:05 +0000 (+0300) Subject: Delete preprocessor output on make clean (Makefile.direct) X-Git-Tag: v7.6.2~303 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=abfaae6d347ac4e1117b988ffbb63cf742769f58;p=gc Delete preprocessor output on make clean (Makefile.direct) * .gitignore: Add "*.i" (only for the base folder). * Makefile.direct (clean): Add "rm *.i". --- diff --git a/.gitignore b/.gitignore index 7680dab0..8b347577 100644 --- a/.gitignore +++ b/.gitignore @@ -120,6 +120,7 @@ stamp-h1 /*.copied.c /*.csm /*.err +/*.i /*.lb1 /*.lnk /*.map diff --git a/Makefile.direct b/Makefile.direct index b11bdb2b..f48def2c 100644 --- a/Makefile.direct +++ b/Makefile.direct @@ -390,7 +390,7 @@ if_not_there: $(srcdir)/tools/if_not_there.c $(HOSTCC) $(HOSTCFLAGS) -o if_not_there $(srcdir)/tools/if_not_there.c clean: - rm -f gc.a *.o *.exe tests/*.o gctest gctest_dyn_link test_cpp \ + rm -f gc.a *.i *.o *.exe tests/*.o gctest gctest_dyn_link test_cpp \ setjmp_test mon.out gmon.out a.out core if_not_there if_mach \ base_lib c++ threadlibs $(CORD_OBJS) cord/cordtest cord/de -rm -f *~