]> granicus.if.org Git - gc/commitdiff
Fix 'cords' parallel build in Makefile.direct
authorIvan Maidanski <ivmai@mail.ru>
Tue, 23 Jan 2018 16:28:21 +0000 (19:28 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 23 Jan 2018 16:38:03 +0000 (19:38 +0300)
* Makefile.direct (cords): Create empty "cords" file after the last
if_not_there command is executed.
* Makefile.direct (clean): Remove "cords" file.

Makefile.direct

index 0346ee4de99732f4e2a0675dcb34312a32b5d6a0..c8bbf81858d65982a1ca44e62f197972e453b0ad 100644 (file)
@@ -255,6 +255,7 @@ cords: $(CORD_OBJS) cord/cordtest $(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
@@ -401,7 +402,7 @@ if_not_there: $(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 *~