BSD make question

Andrew Gallatin gallatin at cs.duke.edu
Thu Aug 7 12:06:19 PDT 2003


Ruslan Ermilov writes:
 > > 
 > Ah, didn't notice it.  Try this:
 > 
 > .for f in $(LIB)
 > $(f:.c=.o): $(f)
 > 	gcc -DLIB -c $< -o $@
 > .endfor

Thanks!  That works.

Drew


More information about the freebsd-hackers mailing list