On 1/28/06, Peng Yu wrote: > What if I want to keep both versions like main-g.o and main-o.o? This can be a litle tricky: implicit rules may be used, something like this: %-g.o : %.cc $(COMPILE.c) -o $@ -c $< %-o.o : %.cc .... Dima.
On 1/28/06, Peng Yu wrote: > What if I want to keep both versions like main-g.o and main-o.o? This can be a litle tricky: implicit rules may be used, something like this: %-g.o : %.cc $(COMPILE.c) -o $@ -c $< %-o.o : %.cc .... Dima.