PhilDonovan
Programmer
I am maintaining a large project, using the make utility.
All the C++ source files are in one directory and the headers are in another directory.
When I change the source code the compiler picks up the changes and compiles. When I change the header files, the compiler does not pick the changes.
Header files:
cflags = /app1/include/BrokerTec/PriceHeader/...
Source Code:
OBJS = BTECPriceFeedRepo.o ...
Compile:
target: ${OBJS} ${CC} ${cflags} -o target
The make file is in the same directory as the source files.
How can I get the make to recognize the changs to the header files???
Thanks so Much
All the C++ source files are in one directory and the headers are in another directory.
When I change the source code the compiler picks up the changes and compiles. When I change the header files, the compiler does not pick the changes.
Header files:
cflags = /app1/include/BrokerTec/PriceHeader/...
Source Code:
OBJS = BTECPriceFeedRepo.o ...
Compile:
target: ${OBJS} ${CC} ${cflags} -o target
The make file is in the same directory as the source files.
How can I get the make to recognize the changs to the header files???
Thanks so Much