Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make <any target> fails with "multiple target patterns" on Windows #8

Open
cyounkins opened this issue May 17, 2014 · 1 comment
Open

Comments

@cyounkins
Copy link

Using mingw make run in cmd.exe provided by Atmel Studio on Windows 7 pro.

make -v
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for i386-pc-mingw32

make
makefile:341: *** multiple target patterns. Stop.

My hunch is this has to do with path specifications (forward vs backward slash), and maybe drive specification involving a colon. Any help diagnosing this would be greatly appreciated.

Craig

@cyounkins
Copy link
Author

So running in cygwin is a little better - It will make once, but will fail on subsequent runs because during dependency generation, the compiler (which I've set to avr-gcc.exe) spits out references to a default include path that are absolute paths, including "c:"

So "c:\program\ files\ (x86)\atmel\atmel\ toolchain\avr8\ gcc\native\3.4.1051\avr8-gnu-toolchain\avr\include\avr\io.h" is in one of the .P files.

Perhaps you could help me modify COMPILE_C_CMDS to do something like s/c://cygdrive/c// ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant