File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1- CPUS := $(shell grep -c ^processor /proc/cpuinfo )
1+ CPUS := $(shell nproc )
22
33all : build_debug
44 true
55
66build_debug : box2d premake
77 .build/premake5 gmake --cc=clang
8- make -C .build config=debug_x86_64 -j $$( ( $( CPUS ) /2 ) )
8+ make -C .build config=debug_x86_64 -j$( CPUS )
99 test -d bin || mkdir bin
1010 cp .build/bin/x86_64/Debug/carnage3d bin/carnage3d-debug
1111
1212build_release : box2d premake
1313 .build/premake5 gmake --cc=clang
14- make -C .build config=release_x86_64 -j $$( ( $( CPUS ) /2 ) )
14+ make -C .build config=release_x86_64 -j$( CPUS )
1515 test -d bin || mkdir bin
1616 cp .build/bin/x86_64/Release/carnage3d bin/carnage3d-release
1717
@@ -43,7 +43,7 @@ premake: builddir
4343
4444box2d : premake
4545 .build/premake5 --file=third_party/Box2D/premake5.lua gmake
46- make -C third_party/Box2D/Build config=debug_x86_64 -j $$( ( $( CPUS ) /2 ) )
47- make -C third_party/Box2D/Build config=release_x86_64 -j $$( ( $( CPUS ) /2 ) )
46+ make -C third_party/Box2D/Build config=debug_x86_64 -j$( CPUS )
47+ make -C third_party/Box2D/Build config=release_x86_64 -j$( CPUS )
4848
4949
You can’t perform that action at this time.
0 commit comments