Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: ollydbg on September 27, 2026, 06:18:49 am

Title: cbp2make does not contain a Makefile.am?
Post by: ollydbg on September 27, 2026, 06:18:49 am
Hi, when I looked at the

https://github.com/msys2/MINGW-packages/blob/master/mingw-w64-codeblocks/PKGBUILD

I see such code snippet:

Code
  cp -R ${srcdir}/${_realname}_${pkgver}/src/tools/cbp2make/ "${srcdir}"/build-${MSYSTEM}/
  cd "${srcdir}"/build-${MSYSTEM}/cbp2make
  if check_option "debug" "n"; then
    make CC=${CC} CXX=${CXX} LD=${CXX} --jobs=1 -f cbp2make.cbp.mak.unix release
  else
    make CC=${CC} CXX=${CXX} LD=${CXX} --jobs=1 -f cbp2make.cbp.mak.unix debug
  fi

So, do we need to add a Makefile.am?

I see other tools in this folder:  src/tools, such as src/tools/cb_share_config and src/tools/CBLauncher, they all have a Makefile.am, but why cbp2make does not?

Thanks.
Title: Re: cbp2make does not contain a Makefile.am?
Post by: Wkerry on September 27, 2026, 10:02:03 am
Try this:
https://github.com/stahta01/CodeBlocks_Unofficial_Testing/blob/master/src/tools/cbp2make/Makefile.am