User forums > Using Code::Blocks
Configure script generating file and Makefile can't find it
(1/1)
TwoD:
I'm attempting to build uShare via C::B and I've set it to use a custom Makefile.
But the Makefile complains about not finding config.mak (because the configure script hadn't been run yet). Couldn't find how to execute the configure script prior to a build, so I did so manually. This generated a header called config.h and a file called config.mak, which is included in the Makefile via:
--- Code: ---ifeq (,$(wildcard config.mak))
$(error "config.mak is not present, run configure !")
endif
include config.mak
--- End code ---
But the first line fails, and I don't know how to make the Makefile find config.mak (it works when running "make" manually).
Navigation
[0] Message Index
Go to full version