Trying to build crm114 (20050721) under CygWin 1.5.18-1
Brian Dessent
brian@dessent.net
Fri Aug 19 16:21:00 GMT 2005
Herb Martin wrote:
> crm114_tre: $(OFILES) crmregex_tre.o
> #
> # Note: if you haven't installed TRElib, the next step
> # will get an error.
> # For TRElib, look in the TRE sub-directory of this kit.
> # Remember to use ./configure --enable-static for static libs.
> # You will also need to add /usr/local/lib to /etc/ld.so.conf,
> # and then run ldconfig (as root) to set the library up and make
> # the library known to the static and runtime linkers.
> #
> $(CC) $(LDFLAGS) $(LIBS) $(OFILES) \
> crmregex_tre.o \
> -o crm114_tre
How does that fix anything? Where do -ltre and -lintl come from? Are
you adding them to $LIBS? If so then that's not going to work as you've
still got the wrong order.
> Full original make file (it you care to see it, it's here):
>
> # Makefile for CRM114
Wow. Just. Wow. That makefile is just unbelievable. (Unbelievably
bad that is.) I wonder if the author was molested by automake as a kid
and was scarred for life. Nothing else explains the reasoning for doing
things like copying the same rule over and over for every .o file.
Brian
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list