Use the paths found by ./configure in the ct-ng.in makefile script and its fragments.
/trunk/kconfig/kconfig.mk | 2 1 1 0 +-
/trunk/samples/samples.mk | 18 9 9 0 +++++++++---------
/trunk/config/config.mk | 10 5 5 0 +++++-----
/trunk/ct-ng.in | 22 13 9 0 +++++++++++++---------
4 files changed, 28 insertions(+), 24 deletions(-)
1 diff -durN duma_2_5_8.orig/Makefile duma_2_5_8/Makefile
2 --- duma_2_5_8.orig/Makefile 2007-08-17 09:34:25.000000000 +0200
3 +++ duma_2_5_8/Makefile 2007-09-07 21:50:04.000000000 +0200
16 createconf$(EXEPOSTFIX): createconf.o
17 - $(RMFORCE) createconf$(EXEPOSTFIX)
18 - $(CC) $(CFLAGS) $(DUMA_OPTIONS) createconf.o -o createconf$(EXEPOSTFIX)
19 + $(HOSTCC) $(HOSTCFLAGS) $(DUMA_OPTIONS) createconf.o -o createconf$(EXEPOSTFIX)
21 tstheap$(EXEPOSTFIX): libduma.a tstheap.o
22 - $(RMFORCE) tstheap$(EXEPOSTFIX)
24 # define rules how to build objects for createconf
27 - $(CC) $(CFLAGS) $(DUMA_OPTIONS) -c createconf.c -o $@
28 + $(HOSTCC) $(HOSTCFLAGS) $(DUMA_OPTIONS) -c createconf.c -o $@