[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: automake -vs- BSD make
From: |
Akim Demaille |
Subject: |
Re: automake -vs- BSD make |
Date: |
20 Feb 2001 15:42:48 +0100 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) |
Lars Hecking <address@hidden> writes:
> === Running test ./target-cflags.test
> automake: Makefile.am: installing `./compile'
> creating cache ./config.cache
[...]
> creating ./config.status
> creating Makefile
> gcc -DPACKAGE=\"target-cflags\" -DVERSION=\"0.0\" -I. -I.. -DFOO -g -O2
> -c -o foo-foo.o `test -f foo.c || echo '../'`foo.c
> gcc -g -O2 -o foo foo-foo.o
> gcc -DPACKAGE=\"target-cflags\" -DVERSION=\"0.0\" -I. -I.. -g -O2 -c
> ../bar.c
> gcc -g -O2 -o bar bar.o
I'm surprised Make doesn't speak here. Reading the test files, GNU
Make is required, and GNU Make is usually verbose. In my case I have:
config.status: creating Makefile
make[3]: Entering directory
`/mnt/nostromo/home/lrde/prof/akim/src/am/tests/testSubDir/obj'
gcc -DPACKAGE=\"target-cflags\" -DVERSION=\"0.0\" -I. -I.. -DFOO -g -O2 -c
-o foo-foo.o `test -f foo.c || echo '../'`foo.c
gcc -g -O2 -o foo foo-foo.o
gcc -DPACKAGE=\"target-cflags\" -DVERSION=\"0.0\" -I. -I.. -g -O2 -c
../bar.c
gcc -g -O2 -o bar bar.o
make[3]: Leaving directory
`/mnt/nostromo/home/lrde/prof/akim/src/am/tests/testSubDir/obj'
Could you
srcdir=. VERBOSE=yes sh -x ./target-cflags.test
?
> creating cache ./config.cache
[...]
> creating Makefile
> ./target-cflags.test[51]: ./foo: not found
Hm, in my case something is rebuilt.
Maybe this version of the file would make it easier to track
target-cflags.test
Description: Text Data