From: Ivan Maidanski Date: Wed, 14 Sep 2011 14:14:59 +0000 (+0400) Subject: Fix Makefile.direct after Makefile removal from package. X-Git-Tag: gc7_3alpha2~353 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8c9d44332746220af3b1697ed290867e11fa87e9;p=gc Fix Makefile.direct after Makefile removal from package. * .gitignore: Add "base_lib", "c++", "gc.a" files. * Makefile.direct (Makefile): Add rule to create (or overwrite) Makefile from Makefile.direct file. * Makefile.direct (clean): Remove "base_lib", "c++" files as well. --- diff --git a/.gitignore b/.gitignore index a84a8a10..bd19897c 100644 --- a/.gitignore +++ b/.gitignore @@ -13,7 +13,9 @@ /.libs/ /Makefile /add_gc_prefix +/base_lib /bdw-gc.pc +/c++ /config.log /config.status /cord/cordtest @@ -24,6 +26,7 @@ /core /de /gc-* +/gc.a /gcname /gctest /hugetest diff --git a/Makefile.direct b/Makefile.direct index d7b77b57..ebe1d2d9 100644 --- a/Makefile.direct +++ b/Makefile.direct @@ -204,6 +204,9 @@ $(OBJS) tests/test.o dyn_load.o dyn_load_sunos53.o: \ # options affects the size of GC_arrays, # invalidating all .o files that rely on gc_priv.h +Makefile: Makefile.direct + cp Makefile.direct Makefile + mark.o typd_mlc.o finalize.o ptr_chck.o: $(srcdir)/include/gc_mark.h \ $(srcdir)/include/private/gc_pmark.h @@ -379,7 +382,7 @@ if_not_there: $(srcdir)/tools/if_not_there.c clean: rm -f gc.a *.o *.exe tests/*.o gctest gctest_dyn_link test_cpp \ setjmp_test mon.out gmon.out a.out core if_not_there if_mach \ - threadlibs $(CORD_OBJS) cord/cordtest cord/de + base_lib c++ threadlibs $(CORD_OBJS) cord/cordtest cord/de -rm -f *~ gctest: tests/test.o gc.a $(UTILS)