summaryrefslogtreecommitdiff
path: root/Makefile.direct
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2011-09-14 16:14:59 +0200
committerIvan Maidanski <ivmai@mail.ru>2011-09-14 16:14:59 +0200
commit2617bc8941718a2c578cbe9db3434b9a2565cc8a (patch)
treebea07838b5feb088b135ab8b272e6ef60dba75c1 /Makefile.direct
parent45e27fd458c1be80e44f79cc60d71993caaa0522 (diff)
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.
Diffstat (limited to 'Makefile.direct')
-rw-r--r--Makefile.direct5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.direct b/Makefile.direct
index ac93425..7e05f30 100644
--- a/Makefile.direct
+++ b/Makefile.direct
@@ -205,6 +205,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
@@ -382,7 +385,7 @@ if_not_there: $(srcdir)/extra/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)