[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AM-1.4] "make distclean" tries to build objects
From: |
Gary V. Vaughan |
Subject: |
Re: [AM-1.4] "make distclean" tries to build objects |
Date: |
Tue, 13 Jun 2006 16:08:58 +0100 |
User-agent: |
Thunderbird 1.5.0.2 (X11/20060519) |
Hi Daniel,
Daniel Haude wrote:
> What can one say about this? I don't get it.
>
> Thanks,
> --Daniel
>
>
> address@hidden:~/Projects/ctops$ make distclean
> Making distclean in .
> make[1]: Entering directory `/home/dh/Projects/ctops'
> rm -f config.h
> rm -f TAGS ID
> rm -f Makefile
> rm -f config.cache config.log stamp-h stamp-h[0-9]*
> make[1]: Leaving directory `/home/dh/Projects/ctops'
> Making distclean in gui
> make[1]: Entering directory `/home/dh/Projects/ctops/gui'
> gcc -DHAVE_CONFIG_H -I. -I. -I..
> -DPACKAGE_DATA_DIR=\""/usr/local/share"\"
> -DPACKAGE_LOCALE_DIR=\""/usr/local//locale"\" -DXTHREADS
> -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include
> -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../tops
> -W -Wall -ansi -pedantic -g -g -O2 -c refine.c
> In file included from refine.c:7:
> support.h:6:22: config.h: No such file or directory
> make[1]: *** [refine.o] Error 1
> make[1]: Leaving directory `/home/dh/Projects/ctops/gui'
> make: *** [distclean-recursive] Error 1
> address@hidden:~/Projects/ctops$
> address@hidden
From automake.info(Recursing subdirectories);
By default, Automake generates `Makefiles' which work depth-first
(`postfix'). However, it is possible to change this ordering. You can
do this by putting `.' into `SUBDIRS'. For instance, putting `.'
first will cause a `prefix' ordering of directories. All `clean'
targets are run in reverse order of build targets.
I don't recall whether ancient automake supports the `.' option in SUBDIRS.
Probably not. You are fighting against all the bugs and misfeatures that
have been fixed over the last five years of automake development if you
insist on staying with automake-1.4 (I branched for the 1.4px series in
early 2001).
HTH,
Gary.
--
Gary V. Vaughan ())_. address@hidden,gnu.org}
Research Scientist ( '/ http://blog.azazil.net
GNU Hacker / )= http://trac.azazil.net/projects/libtool
Technical Author `(_~)_ http://sources.redhat.com/autobook
signature.asc
Description: OpenPGP digital signature