On Wed, 23 Sep 2015 09:07:55 -0700, Charles Mills wrote: >Well, I use it all the time for *single* C (not ++) compiles. > If the standard prefix rules include both ".c.o:" and ".C.o:" you may not even need a Makefile. Simply:
make $( ls *.[cC] | sed 's/\.[cC]$/.o/' ) # (Untested.)
-- gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN
