Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: pozzugno on March 10, 2021, 09:40:43 am

Title: Custom Makefile in msys2 environment
Post by: pozzugno on March 10, 2021, 09:40:43 am
I have a C project that can be compiled using a Makefile under msys2 environment.

Now I'd like to create a C::B project, configure it as a custom Makefile and try to build it using msys2. Is it possible? I couldn't figure it.

Maybe I should use a command line like: c:/msys64/mingw64.exe /usr/bin/bash -lc make, but I don't think C::B will be able to capture the output from msys window (because a new window opens).

Any suggestions?