Skip to content

Latest commit

 

History

History

lib_makefile

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Makefile

Execute sh command

Linux

use sh -c "comman1 arg1 && command2 arg2" directly.

Windows

  • 1 Download MSYS and install it(by default, it will install to C:\wsys64).
  • 2 Add C:\wsys64\usr\bin to Windows environment for shell etc.
  • 3 Add C:\msys64\mingw64\bin to Windows environment for gccg++...
  • 4use sh -c "comman1 arg1 && command2 arg2" directly.

Reference

 sh -c "D:/Develop/Git/Self/AndroidCMake/lib_makefile/src/main/cpp/configure --cc=D:/Develop/android-sdk-windows/ndk/21.4.7075529/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe --cxx=D:/Develop/android-sdk-windows/ndk/21.4.7075529/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe --debug --prefix=D:/Develop/Git/Self/AndroidCMake/lib_makefile/.cxx/Debug/691yb2z4/x86"