Update of /cvsroot/mahogany/M
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22419

Modified Files:
        makerules 
Log Message:
fixed build when yacc is not available

Index: makerules
===================================================================
RCS file: /cvsroot/mahogany/M/makerules,v
retrieving revision 1.64
retrieving revision 1.65
diff -b -u -2 -r1.64 -r1.65
--- makerules   9 Jul 2004 12:32:47 -0000       1.64
+++ makerules   9 Apr 2005 19:15:49 -0000       1.65
@@ -101,9 +101,10 @@
 else
 vpath %.c-yacc .src
-%.o: %.c-yacc
-       @mv $< $*.c
+%.c: %.c-yacc
+       @cp $< $@
+
+%.o: %.c
        $(CC) -o $@ $(M_COMPILE_CC) $*.c
        @f=$(notdir $*); test ! -f $$f.d || { sed -e "s,^$$f\.o:,$@:," -e 
"s,$*.c,$<," $$f.d >$*.t && rm -f $$f.d && mv $*.t $*.d; }
-       @rm -f $*.c
 endif
 



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to