Quote:
Originally Posted by taylor_venable
... so I am curious about the generic case that every .cc (C++ source) file depends on the .hh (C++ header) file of the same name.
|
you could use:
Code:
.SUFFIXES: .o .cc
.cc.o:
g++ -g -Wall -c ${.IMPSRC}
*.o: $*.hh