News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Configure script generating file and Makefile can't find it

Started by TwoD, August 24, 2008, 01:26:09 AM

Previous topic - Next topic

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:

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).