Hi there,
With the old fasioned suffic rules I can write something like this:
.SUFFIXES: .c .sc .cc .scc .cpp .scpp
.sc.c .scc.cc .scpp.cpp:
command -i $< -o $@
With the pattern rules I have no better idea that to write the same command for every
single pattern rule
%.c: %.sc
command -i $< -o $@
%.cc: %.scc
command -i $< -o $@
%.cpp: %.scpp
command -i $< -o $@
Is there a possibility to write it in more compact way i.e. without redundantly
repeating the command?
I need the pattern rules because what I am really going to need is:
$(DIR)/%.c: %.sc
and so on ..
thanks in advance
--
Maciej Walezak
-GDN-
_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make