summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore3
-rw-r--r--Makefile.direct5
2 files changed, 7 insertions, 1 deletions
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)