How do I add dependencies to this header file
Posted
by Phenom
on Stack Overflow
See other posts from Stack Overflow
or by Phenom
Published on 2010-05-11T08:50:23Z
Indexed on
2010/05/11
8:54 UTC
Read the original article
Hit count: 161
Here is a simple header file for six different programs that used to work right, but then my files also include other files. This needs to get changed so that if the dependencies change the files that include those dependencies get updated.
all: load list show add delete btree
%: %.cpp
g++ $< -g -o $@
© Stack Overflow or respective owner