[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Make looks for the wrong file
From: |
GAVA Cédric |
Subject: |
Make looks for the wrong file |
Date: |
Tue, 26 Jul 2011 15:28:48 +0200 |
Hello
I'm facing a strange issue with automake 1.11.1 :
CONTEXT :
Project directory structure :
../project
Makefile.am
Configure.ac
/src
/state_machine
DedicatedSoftware.c
And, in the Makefile.am file, the following line :
bridge_SOURCES = src/DedicatedSoftware.c
ISSUE :
I moved the DedicatedSoftware.c file into src/state_machine directory, and
changed my Makefile.am to the following :
bridge_SOURCES = src/state_machine/DedicatedSoftware.c
$> make: *** No rule to make target .../src/DedicatedSoftware.c',
needed by `bridge-DedicatedSoftware.o'. Stop.
If I rename the file DedicatedSoftwareT.c, and puts
src/state_machine/DedicatedSoftwareT.c, then make does not complains !?!???
What do I miss ?
Thank you, in advance, for your help
I've put bellow the dump of make -d for debugging informations... :
Best regards
Cedric Gava
ANNEX : DEBUG DUMP (real long path has been replaced by 'project')
Considering target file `bridge-DedicatedSoftware.o'.
File `bridge-DedicatedSoftware.o' does not exist.
Considering target file `src/state_machine/DedicatedSoftware.c'.
Looking for an implicit rule for
`src/state_machine/DedicatedSoftware.c'.
Trying pattern rule with stem `DedicatedSoftware'.
Trying implicit prerequisite `src/state_machine/DedicatedSoftware.w'.
Trying pattern rule with stem `DedicatedSoftware.c'.
Trying implicit prerequisite `src/state_machine/DedicatedSoftware.c,v'.
Trying pattern rule with stem `DedicatedSoftware.c'.
Trying implicit prerequisite
`src/state_machine/RCS/DedicatedSoftware.c,v'.
Trying pattern rule with stem `DedicatedSoftware.c'.
Trying implicit prerequisite
`src/state_machine/RCS/DedicatedSoftware.c'.
Trying pattern rule with stem `DedicatedSoftware.c'.
Trying implicit prerequisite `src/state_machine/s.DedicatedSoftware.c'.
Trying pattern rule with stem `DedicatedSoftware.c'.
Trying implicit prerequisite
`src/state_machine/SCCS/s.DedicatedSoftware.c'.
Trying pattern rule with stem `DedicatedSoftware'.
Trying implicit prerequisite `src/state_machine/DedicatedSoftware.w'.
Looking for a rule with intermediate file
`src/state_machine/DedicatedSoftware.w'.
Avoiding implicit rule recursion.
Trying pattern rule with stem `DedicatedSoftware.w'.
Trying implicit prerequisite
`src/state_machine/DedicatedSoftware.w,v'.
Trying pattern rule with stem `DedicatedSoftware.w'.
Trying implicit prerequisite
`src/state_machine/RCS/DedicatedSoftware.w,v'.
Trying pattern rule with stem `DedicatedSoftware.w'.
Trying implicit prerequisite
`src/state_machine/RCS/DedicatedSoftware.w'.
Trying pattern rule with stem `DedicatedSoftware.w'.
Trying implicit prerequisite
`src/state_machine/s.DedicatedSoftware.w'.
Trying pattern rule with stem `DedicatedSoftware.w'.
Trying implicit prerequisite
`src/state_machine/SCCS/s.DedicatedSoftware.w'.
No implicit rule found for `src/state_machine/DedicatedSoftware.c'.
Finished prerequisites of target file
`src/state_machine/DedicatedSoftware.c'.
No need to remake target `src/state_machine/DedicatedSoftware.c'; using
VPATH name `/project/src/state_machine/DedicatedSoftware.c'.
Considering target file `/project/src/DedicatedSoftware.c'.
File `/project/src/DedicatedSoftware.c' does not exist.
Looking for an implicit rule for `/project/src/DedicatedSoftware.c'.
Trying pattern rule with stem `DedicatedSoftware'.
Trying implicit prerequisite `/project/src/DedicatedSoftware.w'.
Trying pattern rule with stem `DedicatedSoftware.c'.
Trying implicit prerequisite `/project/src/DedicatedSoftware.c,v'.
Trying pattern rule with stem `DedicatedSoftware.c'.
Trying implicit prerequisite `/project/src/RCS/DedicatedSoftware.c,v'.
Trying pattern rule with stem `DedicatedSoftware.c'.
Trying implicit prerequisite `/project/src/RCS/DedicatedSoftware.c'.
Trying pattern rule with stem `DedicatedSoftware.c'.
Trying implicit prerequisite `/project/src/s.DedicatedSoftware.c'.
Trying pattern rule with stem `DedicatedSoftware.c'.
Trying implicit prerequisite `/project/src/SCCS/s.DedicatedSoftware.c'.
Trying pattern rule with stem `DedicatedSoftware'.
Trying implicit prerequisite `/project/src/DedicatedSoftware.w'.
Looking for a rule with intermediate file
`/project/src/DedicatedSoftware.w'.
Avoiding implicit rule recursion.
Trying pattern rule with stem `DedicatedSoftware.w'.
Trying implicit prerequisite `/project/src/DedicatedSoftware.w,v'.
Trying pattern rule with stem `DedicatedSoftware.w'.
Trying implicit prerequisite `/project/src/RCS/DedicatedSoftware.w,v'.
Trying pattern rule with stem `DedicatedSoftware.w'.
Trying implicit prerequisite `/project/src/RCS/DedicatedSoftware.w'.
Trying pattern rule with stem `DedicatedSoftware.w'.
Trying implicit prerequisite `/project/src/s.DedicatedSoftware.w'.
Trying pattern rule with stem `DedicatedSoftware.w'.
Trying implicit prerequisite
`/project/src/SCCS/s.DedicatedSoftware.w'.
No implicit rule found for `/project/src/DedicatedSoftware.c'.
Finished prerequisites of target file
`/project/src/DedicatedSoftware.c'.
Must remake target `/project/src/DedicatedSoftware.c'.
- Make looks for the wrong file,
GAVA Cédric <=