diff -r 95a232c6691b lisp/cedet/ede/proj-shared.el --- a/lisp/cedet/ede/proj-shared.el Wed Oct 28 17:41:17 2009 +0100 +++ b/lisp/cedet/ede/proj-shared.el Thu Oct 29 15:48:38 2009 +0100 @@ -71,18 +71,19 @@ "ede-c-shared-compiler-libtool" :name "libtool" :variables '(("LIBTOOL" . "libtool") - ("LTCOMPILE" . "$(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)") - ("LTLINK" . "$(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -L. -o $@") + ("LTCOMPILE" . + "$(LIBTOOL) --tag=CC --mode=compile $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)") ) :rules (list (ede-makefile-rule "cc-inference-rule-libtool" - :target "%.o" + :target "%.lo" :dependencies "%.c" :rules '("@echo '$(LTCOMPILE) -o $@ $<'; \\" "$(LTCOMPILE) -o $@ $<" ) )) :autoconf '("AC_PROG_LIBTOOL") + :objectextention ".lo" ) "Compiler for C sourcecode.") @@ -94,7 +95,7 @@ :sourcetype '(ede-source-c++) :variables '( ("LIBTOOL" . "libtool") - ("LTLINK" . "$(LIBTOOL) --tag=CPP --mode=link $(CPP) $(CFLAGS) $(LDFLAGS) -L. -o $@") + ("LTLINK" . "$(LIBTOOL) --tag=CC --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -L.") ) :commands '("$(LTLINK) -o $@ $^") :autoconf '("AC_PROG_LIBTOOL")