File tree Expand file tree Collapse file tree
libs/openFrameworksCompiled/project/makefileCommon Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ endif
136136
137137Debug :
138138 @echo Compiling OF library for Debug
139- $(MAKE ) -C $(OF_ROOT ) /libs/openFrameworksCompiled/project/ Debug PLATFORM_OS=$(PLATFORM_OS ) ABIS_TO_COMPILE_DEBUG=" $( ABIS_TO_COMPILE_DEBUG) "
139+ $(MAKE ) -j - C $(OF_ROOT ) /libs/openFrameworksCompiled/project/ Debug PLATFORM_OS=$(PLATFORM_OS ) ABIS_TO_COMPILE_DEBUG=" $( ABIS_TO_COMPILE_DEBUG) "
140140 @echo
141141 @echo
142142 @echo Compiling $(APPNAME ) for Debug
Original file line number Diff line number Diff line change @@ -7,6 +7,6 @@ if "%BUILDER%"=="VS" (
77
88if " %BUILDER% " == " MSYS2" (
99 for /D %%e in (addons\%APPVEYOR_PROJECT_NAME% \example*) do (
10- %MSYS2_PATH% \usr\bin\bash -lc " make -j2 -C addons/%APPVEYOR_PROJECT_NAME% /%%~ne Debug"
10+ %MSYS2_PATH% \usr\bin\bash -lc " make -j -C addons/%APPVEYOR_PROJECT_NAME% /%%~ne Debug"
1111 )
1212)
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ elif [ "$TARGET" == "linuxarmv7l" ]; then
3737 export CXXFLAGS="${CXXFLAGS} -ftrack-macro-expansion=0";
3838 export GCCVER=7.1.1
3939 cd \$ 1
40- make -j2 DebugNoOF PLATFORM_VARIANT=raspberry2
40+ make -j DebugNoOF PLATFORM_VARIANT=raspberry2
4141EOF
4242 export PATH=~ /.local/share/junest/bin:$PATH
4343 chmod 755 build_junest.sh
@@ -70,18 +70,18 @@ if ls example* 1> /dev/null 2>&1; then
7070 if [ " $TARGET " == " android" ]; then
7171 cd $example
7272 echo " ABIS_TO_COMPILE_DEBUG = $OPT " >> config.make
73- make -j2 DebugNoOF PLATFORM_OS=Android
73+ make -j DebugNoOF PLATFORM_OS=Android
7474 cd ..
7575 elif [ " $TARGET " == " emscripten" ]; then
7676 cd $example
77- emmake make -j2 DebugNoOF
77+ emmake make -j DebugNoOF
7878 cd ..
7979 elif [ " $TARGET " == " linuxarmv7l" ]; then
8080 # make DebugNoOF PLATFORM_VARIANT=raspberry2
8181 junest ./build_junest.sh $( cd $example ; pwd -P)
8282 else
8383 cd $example
84- make -j2 DebugNoOF
84+ make -j DebugNoOF
8585 cd ..
8686 fi
8787 done
Original file line number Diff line number Diff line change 5353 cd $OF_ROOT /
5454 scripts/linux/download_libs.sh
5555 cd $OF_ROOT /apps/projectGenerator/commandLine
56- make -j2 Debug -C .
56+ make -j Debug -C .
5757 ret=$?
5858 if [ $ret -ne 0 ]; then
5959 echo " Failed building Project Generator"
Original file line number Diff line number Diff line change @@ -15,11 +15,11 @@ cd $ROOT
1515# echo "PLATFORM_CFLAGS += $CUSTOMFLAGS" >> libs/openFrameworksCompiled/project/emscripten/config.emscripten.default.mk
1616sed -i " s/PLATFORM_OPTIMIZATION_CFLAGS_DEBUG = .*/PLATFORM_OPTIMIZATION_CFLAGS_DEBUG = -g0/" libs/openFrameworksCompiled/project/emscripten/config.emscripten.default.mk
1717cd libs/openFrameworksCompiled/project
18- emmake make -j2 Debug # USE_CCACHE=1
18+ emmake make -j Debug # USE_CCACHE=1
1919
2020echo " **** Building emptyExample ****"
2121cd $ROOT /scripts/templates/linux64
22- emmake make -j2 Debug # USE_CCACHE=1
22+ emmake make -j Debug # USE_CCACHE=1
2323
2424echo " **** Building allAddonsExample ****"
2525cd $ROOT
@@ -45,4 +45,4 @@ sed -i "s/ofxKinect kinect;//" src/ofApp.h
4545sed -i " s/ofxThreadedImageLoader .*;//" src/ofApp.h
4646sed -i " s/ofxXmlPoco .*;//" src/ofApp.h
4747
48- emmake make -j2 Debug # USE_CCACHE=1
48+ emmake make -j Debug # USE_CCACHE=1
Original file line number Diff line number Diff line change @@ -191,7 +191,7 @@ for folder in "${folders[@]}"; do
191191 cd $folder
192192 cp ../../../scripts/templates/emscripten/Makefile .
193193 cp ../../../scripts/templates/emscripten/config.make .
194- emmake make -j2 Release
194+ emmake make -j Release
195195
196196 errorcode=$?
197197 if [[ $errorcode -ne 0 ]]; then
Original file line number Diff line number Diff line change 2525 echo " PLATFORM_CFLAGS += $CUSTOMFLAGS " >> libs/openFrameworksCompiled/project/linux64/config.linux64.default.mk
2626 sed -i " s/PLATFORM_OPTIMIZATION_CFLAGS_DEBUG = .*/PLATFORM_OPTIMIZATION_CFLAGS_DEBUG = -g0/" libs/openFrameworksCompiled/project/makefileCommon/config.linux.common.mk
2727 cd libs/openFrameworksCompiled/project
28- make -j2
28+ make -j
2929
3030 echo " **** Building emptyExample ****"
3131 cd $ROOT /scripts/templates/linux64
32- make -j2
32+ make -j
3333
3434 echo " **** Building allAddonsExample ****"
3535 cd $ROOT
3636 cp scripts/templates/linux64/Makefile examples/templates/allAddonsExample/
3737 cp scripts/templates/linux64/config.make examples/templates/allAddonsExample/
3838 cd examples/templates/allAddonsExample/
39- make -j2
39+ make -j
4040fi
Original file line number Diff line number Diff line change 1515 cd $test
1616 cp ../../../scripts/templates/linux/Makefile .
1717 cp ../../../scripts/templates/linux/config.make .
18- make -j2 Debug
18+ make -j Debug
1919 cd bin
2020 binname=$( basename ${test} )
2121 # gdb -batch -ex "run" -ex "bt" -ex "q \$_exitcode" ./${binname}_debug
Original file line number Diff line number Diff line change @@ -23,12 +23,12 @@ cd $OF_ROOT
2323cp scripts/templates/linuxaarch64/Makefile examples/templates/emptyExample/
2424cp scripts/templates/linuxaarch64/config.make examples/templates/emptyExample/
2525cd examples/templates/emptyExample/
26- make Debug -j2
26+ make Debug -j
2727
2828# TODO:
2929# echo "**** Building allAddonsExample ****"
3030# cd $OF_ROOT
3131# cp scripts/templates/linuxaarch64/Makefile examples/templates/allAddonsExample/
3232# cp scripts/templates/linuxaarch64/config.make examples/templates/allAddonsExample/
3333# cd examples/templates/allAddonsExample/
34- # make Debug -j2
34+ # make Debug -j
Original file line number Diff line number Diff line change @@ -25,11 +25,11 @@ cd $OF_ROOT
2525cp scripts/templates/linuxarmv6l/Makefile examples/templates/emptyExample/
2626cp scripts/templates/linuxarmv6l/config.make examples/templates/emptyExample/
2727cd examples/templates/emptyExample/
28- make Debug -j2
28+ make Debug -j
2929
3030echo " **** Building allAddonsExample ****"
3131cd $OF_ROOT
3232cp scripts/templates/linuxarmv6l/Makefile examples/templates/allAddonsExample/
3333cp scripts/templates/linuxarmv6l/config.make examples/templates/allAddonsExample/
3434cd examples/templates/allAddonsExample/
35- make Debug -j2
35+ make Debug -j
You can’t perform that action at this time.
0 commit comments