Re: GNU make: multiple patterns for prerequisites

2009-11-17 Thread bocadillodeatun
Ok. Thanks. I guess it's not that bad after all :)

Re: GNU make: multiple patterns for prerequisites

2009-11-16 Thread Henrik Carlqvist
bocadillodeatun wrote: > I have somethign like this: > > one.o two.o : %.o :%.c > However, some of my source files can be either ".c" or ".S". > So... is there any way to tell "make" to look in VPATH for files that > match either one or another ? Yes, use two rules: one.o two.o : %.o :%.c o