From: Shawn P. <sha...@gm...> - 2009-01-28 10:20:43
|
Matt Lewis wrote: > No, we need to have the explicit dependencies. I manually fiddle with > the translated files all the time when I'm debugging something. That > was one of the reasons that I started the makefiles to begin with, > because I didn't want to watch everything get rebuilt when I only > changed one file. > > Then one can use some of the wildcard and pattern substitution of Make itself instead of reading it in from the shell. Otherwise, set a variable CSUFFIX to be capital C for djgpp and lowercase C otherwise and use that as part of all of the rules. replace .c with .$(CSUFFIX). Shawn |