Author Topic: Configure script generating file and Makefile can't find it  (Read 2481 times)

Offline TwoD

  • Single posting newcomer
  • *
  • Posts: 8
Configure script generating file and Makefile can't find it
« on: August 24, 2008, 01:26:09 am »
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

But the first line fails, and I don't know how to make the Makefile find config.mak (it works when running "make" manually).