summaryrefslogtreecommitdiff
path: root/Makefile.direct
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2018-01-23 19:28:21 +0300
committerIvan Maidanski <ivmai@mail.ru>2018-01-24 16:47:02 +0300
commit1499ef1653f6b6bfe7ea9108700d4a581053ae05 (patch)
tree602b27d90421c3689cf8d288018e85aeb918e5bc /Makefile.direct
parent37197b1e20f1b5d35494ce72bfce1641893aa17a (diff)
downloadbdwgc-1499ef1653f6b6bfe7ea9108700d4a581053ae05.tar.gz
Fix 'cords' parallel build in Makefile.direct
* Makefile.direct (cords): Create empty "cords" file after the last if_not_there command is executed. * Makefile.direct (clean): Remove "cords" file.
Diffstat (limited to 'Makefile.direct')
-rw-r--r--Makefile.direct3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.direct b/Makefile.direct
index 8caf7379..4f830b65 100644
--- a/Makefile.direct
+++ b/Makefile.direct
@@ -216,6 +216,7 @@ cords: $(CORD_OBJS) cord/cordtest$(EXEEXT) $(UTILS) base_lib
./if_mach M68K AMIGA $(AR) -vrus gc.a $(CORD_OBJS)
./if_not_there dont_ar_3 $(AR) ru gc.a $(CORD_OBJS)
./if_not_there dont_ar_3 $(RANLIB) gc.a || cat /dev/null
+ echo > cords
gc_cpp.o: $(srcdir)/gc_cpp.cc $(srcdir)/include/gc_cpp.h $(srcdir)/include/gc.h
$(CXX) -c $(CXXFLAGS) $(srcdir)/gc_cpp.cc
@@ -365,7 +366,7 @@ if_not_there$(EXEEXT): $(srcdir)/tools/if_not_there.c
clean:
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++ $(CORD_OBJS) cord/cordtest cord/de \
+ base_lib c++ $(CORD_OBJS) cord/cordtest cord/de cords \
dont_ar_* threadlibs
-rm -f *~