Disabling parallel sub compilation of main Makefile

This commit is contained in:
saundersp 2025-03-14 00:17:59 +01:00
parent edaf3f0fe6
commit 3d64238db6

View File

@ -1,33 +1,41 @@
.PHONY: all .PHONY: all
all: gcd/bin/gcd format_bytes/bin/format_bytes format_time/bin/format_time format_time/bin/format_time_ns all: gcd/bin/gcd format_bytes/bin/format_bytes format_time/bin/format_time format_time/bin/format_time_ns
.NOTPARALLEL:
format_time/bin/format_time: format_time/bin/format_time:
@cd format_time && exec make -s @cd format_time && exec make -s
.NOTPARALLEL:
format_time/bin/format_time_ns: format_time/bin/format_time_ns:
@cd format_time && exec make -s @cd format_time && exec make -s
.NOTPARALLEL:
format_bytes/bin/format_bytes: format_bytes/bin/format_bytes:
@cd format_bytes && exec make -s @cd format_bytes && exec make -s
.NOTPARALLEL:
gcd/bin/gcd: gcd/bin/gcd:
@cd gcd && exec make -s @cd gcd && exec make -s
.NOTPARALLEL:
.PHONY: install .PHONY: install
install: gcd/bin/gcd format_bytes/bin/format_bytes format_time/bin/format_time format_time/bin/format_time_ns install: gcd/bin/gcd format_bytes/bin/format_bytes format_time/bin/format_time format_time/bin/format_time_ns
@cp -v compress convertUTF8 extract $^ /usr/bin @cp -v compress convertUTF8 extract $^ /usr/bin
@cd /usr/bin && chmod -v u+x compress convertUTF8 extract gcd format_bytes format_time format_time_ns @cd /usr/bin && chmod -v u+x compress convertUTF8 extract gcd format_bytes format_time format_time_ns
.NOTPARALLEL:
.PHONY: uninstall .PHONY: uninstall
uninstall: uninstall:
@cd /usr/bin && rm -v compress convertUTF8 extract gcd format_bytes format_time format_time_ns @cd /usr/bin && rm -v compress convertUTF8 extract gcd format_bytes format_time format_time_ns
.NOTPARALLEL:
.PHONY: clean .PHONY: clean
clean: clean:
@(cd gcd && exec make -s clean) @(cd gcd && exec make -s clean)
@(cd format_bytes && exec make -s clean) @(cd format_bytes && exec make -s clean)
@(cd format_time && exec make -s clean) @(cd format_time && exec make -s clean)
.NOTPARALLEL:
.PHONY: mrproper .PHONY: mrproper
mrproper: clean mrproper: clean
@(cd gcd && exec make -s mrproper) @(cd gcd && exec make -s mrproper)