10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-11-19 04:22:36 +01:00

make -j NPROC

This commit is contained in:
Anthony Scemama 2015-01-11 21:40:04 +01:00
parent 32ce5e46d0
commit 17ee86908f

View File

@ -13,7 +13,7 @@ all_clean:
@for i in $(ALL_MODULES) ; do cd $$i ; make veryclean ; make clean_links ; cd .. ; done @for i in $(ALL_MODULES) ; do cd $$i ; make veryclean ; make clean_links ; cd .. ; done
$(ALL_MODULES): FORCE $(ALL_MODULES): FORCE
cd $@ ; $(MAKE) cd $@ ; make -j $$(cat /proc/cpuinfo | grep MHz | wc -l)
executables: $(ALL_MODULES) executables: $(ALL_MODULES)
rm -f executables ; \ rm -f executables ; \