Use intermediate stamp for compinit.[ch] to avoid parallel clobber.
authorTaylor R Campbell <campbell@mumble.net>
Wed, 9 Jan 2019 03:48:30 +0000 (03:48 +0000)
committerTaylor R Campbell <campbell@mumble.net>
Wed, 9 Jan 2019 03:56:36 +0000 (03:56 +0000)
src/microcode/makegen/liarc-base-rules

index ba7d167c20fab3fd360c772ce2e16bca8ec6ba7c..6d52dd1e40fed3d698fb774a439c3baa3838caf0 100644 (file)
@@ -32,9 +32,12 @@ unstackify.o: unstackify.c stackops.h $(LIARC_HEAD_FILES)
 
 SYS_LIB_URI = http://www.gnu.org/software/mit-scheme/lib/
 
-compinit.c compinit.h: $(LIARC_SOURCES) Makefile gen-nonce extract-liarc-decls
-       rm -f $@
+stamp_compinit: $(LIARC_SOURCES) Makefile gen-nonce extract-liarc-decls
+       rm -f $@ compinit.c compinit.h
        $(srcdir)/../etc/c-bundle.sh . static compinit \
            --rewrite "" $(SYS_LIB_URI)microcode/ \
            --rewrite ../runtime/ $(SYS_LIB_URI)runtime/ \
            $(LIARC_SOURCES)
+       echo done > $@
+
+compinit.c compinit.h: stamp_compinit