Pattern rules not recognized on Win32

"Gerrit ." <[email protected]>
Newsgroups gmane.comp.gnu.make.windows
Message-ID <[email protected]>
Hello everyone!

The ScummC project (http://alban.dotsec.net/7.html) is having issues with its makefiles on Win32. The same makefiles work fine on Linux and Mac platforms.


The pattern rules listed below are reported to cause errors under Cygwin and MinGW. The reported error is "No rule to define target 'xxx.cost'", while the rule has clearly been defined:


%.cost: $(COST_DIR)/%.scost $(COST)
        $(COST) -o $@ -I $(COST_DIR) $<

%.char: $(FONT_DIR)/%.bmp $(CHAR)
        $(CHAR) -ochar $@ -ibmp $<

%.roobj: $(EXP_DIR)/%.scc $(SCC)
         $(SCC) -o $@ $(SCC_FLAGS) $<


The full makefile is available from the SVN browser interface:
https://dotsec.net/cgi-bin/viewcvs.cgi/scummc/trunk/examples/openquest/Makefile?rev=380&view=markup

The discussion is available on the mailing list archives:
https://mail.gna.org/public/scummc-general/2008-01/msg00001.html


Does anyone recognize any obvious non-portable syntax here? Or is there maybe a list of known make-win32 issues available somewhere?

Any input will be much appreciated.
Many thanks in advance!





_________________________________________________________________
Discover the new Windows Vista
http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE

_______________________________________________
Make-w32 mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/make-w32
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.