Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » multiple target patterns
multiple target patterns [message #188883] Thu, 05 April 2007 10:35 Go to next message
Sergey Gomanyuk is currently offline Sergey GomanyukFriend
Messages: 46
Registered: July 2009
Member
I create two Managed make C projects:
1. c-lib with type Static Library (GNU on Windows)
2. c-exe with type Executable (GNU on Windows)
Then I make c-exe project dependent form c-lib project.

Generated makefile for c-exe project contains following string:
c-exe.exe: $(OBJS) $(USER_OBJS)
M:/Settings/Eclipse/3.2.2/workspace/c-lib/Debug/libc-lib.a

which caused an error: multiple target patterns

Well is there a way to generate makefile with correct string:
c-exe.exe: $(OBJS) $(USER_OBJS)
/cygwin/m/Settings/Eclipse/3.2.2/workspace/c-lib/Debug/libc- lib.a

CDT: 3.1.2
Eclipse: 3.2.2
Platform: WinXP Cygwin

Sergey Gomanyuk
Re: multiple target patterns [message #491207 is a reply to message #188883] Tue, 13 October 2009 16:05 Go to previous message
Jeff Burch is currently offline Jeff BurchFriend
Messages: 1
Registered: October 2009
Junior Member
I found a solution to the "multiple target patterns" issue. The problem is in gnu make. I downloaded a "patched" version from here. Just place this file in your cygwin /bin directory:

http://www.cmake.org/files/cygwin/make.exe

See the discussion here:

http://www.cygwin.com/ml/cygwin/2009-04/msg00007.html

- Jeff
Previous Topic:How to have multiple SVN branches of the same directory in a single workspace?
Next Topic:Can CDT formatter do this?
Goto Forum:
  


Current Time: Fri Mar 29 13:16:33 GMT 2024

Powered by FUDForum. Page generated in 0.02134 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top