Having problems with make file within git
up vote
0
down vote
favorite
I am a complete newbie when using git.
I am trying to compile/make this compile this git repository but without much success.
https://github.com/cithraidt/lwcloneu2
Every time I try to create the file using make I get the following errors
for i in arduino_mega2560 arduino_leonardo arduino_uno breakout_32u2 arduino_promicro; do make --directory=$i clean; make --directory=$i all; done
i was unexpected at this time.
makefile:5: recipe for target 'all' failed
make: *** [all] Error 255
Once again I am a complete newbie at this and would gratefully accept any advice.
makefile arduino-uno
add a comment |
up vote
0
down vote
favorite
I am a complete newbie when using git.
I am trying to compile/make this compile this git repository but without much success.
https://github.com/cithraidt/lwcloneu2
Every time I try to create the file using make I get the following errors
for i in arduino_mega2560 arduino_leonardo arduino_uno breakout_32u2 arduino_promicro; do make --directory=$i clean; make --directory=$i all; done
i was unexpected at this time.
makefile:5: recipe for target 'all' failed
make: *** [all] Error 255
Once again I am a complete newbie at this and would gratefully accept any advice.
makefile arduino-uno
Welcome to Stack Overflow. Please read the About and How to Ask pages soon. More urgently, you need to read about how to create an MCVE (Minimal, Complete, and Verifiable example). Please don't rely only on an external site to give us information. The question should be self-contained, though you might reference an external site to let us know where more complete information can be obtained. It's hard to guess what's wrong without the lines in the makefile that trigger the complaint. It may be that you didn't indent the line with thefor
loop with a tab, or it may be something else altogether. That's why we need an MCVE.
– Jonathan Leffler
Nov 11 at 3:40
Possible duplicate of Looping through string values from a windows command line bat file
– Tsyvarev
Nov 11 at 16:33
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am a complete newbie when using git.
I am trying to compile/make this compile this git repository but without much success.
https://github.com/cithraidt/lwcloneu2
Every time I try to create the file using make I get the following errors
for i in arduino_mega2560 arduino_leonardo arduino_uno breakout_32u2 arduino_promicro; do make --directory=$i clean; make --directory=$i all; done
i was unexpected at this time.
makefile:5: recipe for target 'all' failed
make: *** [all] Error 255
Once again I am a complete newbie at this and would gratefully accept any advice.
makefile arduino-uno
I am a complete newbie when using git.
I am trying to compile/make this compile this git repository but without much success.
https://github.com/cithraidt/lwcloneu2
Every time I try to create the file using make I get the following errors
for i in arduino_mega2560 arduino_leonardo arduino_uno breakout_32u2 arduino_promicro; do make --directory=$i clean; make --directory=$i all; done
i was unexpected at this time.
makefile:5: recipe for target 'all' failed
make: *** [all] Error 255
Once again I am a complete newbie at this and would gratefully accept any advice.
makefile arduino-uno
makefile arduino-uno
edited Nov 11 at 3:17
c2huc2hu
1,7381219
1,7381219
asked Nov 10 at 17:06
G33
31
31
Welcome to Stack Overflow. Please read the About and How to Ask pages soon. More urgently, you need to read about how to create an MCVE (Minimal, Complete, and Verifiable example). Please don't rely only on an external site to give us information. The question should be self-contained, though you might reference an external site to let us know where more complete information can be obtained. It's hard to guess what's wrong without the lines in the makefile that trigger the complaint. It may be that you didn't indent the line with thefor
loop with a tab, or it may be something else altogether. That's why we need an MCVE.
– Jonathan Leffler
Nov 11 at 3:40
Possible duplicate of Looping through string values from a windows command line bat file
– Tsyvarev
Nov 11 at 16:33
add a comment |
Welcome to Stack Overflow. Please read the About and How to Ask pages soon. More urgently, you need to read about how to create an MCVE (Minimal, Complete, and Verifiable example). Please don't rely only on an external site to give us information. The question should be self-contained, though you might reference an external site to let us know where more complete information can be obtained. It's hard to guess what's wrong without the lines in the makefile that trigger the complaint. It may be that you didn't indent the line with thefor
loop with a tab, or it may be something else altogether. That's why we need an MCVE.
– Jonathan Leffler
Nov 11 at 3:40
Possible duplicate of Looping through string values from a windows command line bat file
– Tsyvarev
Nov 11 at 16:33
Welcome to Stack Overflow. Please read the About and How to Ask pages soon. More urgently, you need to read about how to create an MCVE (Minimal, Complete, and Verifiable example). Please don't rely only on an external site to give us information. The question should be self-contained, though you might reference an external site to let us know where more complete information can be obtained. It's hard to guess what's wrong without the lines in the makefile that trigger the complaint. It may be that you didn't indent the line with the
for
loop with a tab, or it may be something else altogether. That's why we need an MCVE.– Jonathan Leffler
Nov 11 at 3:40
Welcome to Stack Overflow. Please read the About and How to Ask pages soon. More urgently, you need to read about how to create an MCVE (Minimal, Complete, and Verifiable example). Please don't rely only on an external site to give us information. The question should be self-contained, though you might reference an external site to let us know where more complete information can be obtained. It's hard to guess what's wrong without the lines in the makefile that trigger the complaint. It may be that you didn't indent the line with the
for
loop with a tab, or it may be something else altogether. That's why we need an MCVE.– Jonathan Leffler
Nov 11 at 3:40
Possible duplicate of Looping through string values from a windows command line bat file
– Tsyvarev
Nov 11 at 16:33
Possible duplicate of Looping through string values from a windows command line bat file
– Tsyvarev
Nov 11 at 16:33
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
accepted
You didn't tell us the critical information, that you're trying to do this on Windows. I can tell that you are, because the error message i was unexpected at this time. is a message printed by the Windows terminal command line.
That makefile is written for a POSIX system such as GNU/Linux. You won't be able to use it on Windows, without a lot of modification.
According to the README file there are Visual Studio project files available in the Git repository; I expect you'll need to use those to rebuild this code on Windows.
Thank you MadScientist. Sorry I should of put windows when making the post. I will try and create the file on linux.
– G33
Nov 11 at 15:52
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
accepted
You didn't tell us the critical information, that you're trying to do this on Windows. I can tell that you are, because the error message i was unexpected at this time. is a message printed by the Windows terminal command line.
That makefile is written for a POSIX system such as GNU/Linux. You won't be able to use it on Windows, without a lot of modification.
According to the README file there are Visual Studio project files available in the Git repository; I expect you'll need to use those to rebuild this code on Windows.
Thank you MadScientist. Sorry I should of put windows when making the post. I will try and create the file on linux.
– G33
Nov 11 at 15:52
add a comment |
up vote
0
down vote
accepted
You didn't tell us the critical information, that you're trying to do this on Windows. I can tell that you are, because the error message i was unexpected at this time. is a message printed by the Windows terminal command line.
That makefile is written for a POSIX system such as GNU/Linux. You won't be able to use it on Windows, without a lot of modification.
According to the README file there are Visual Studio project files available in the Git repository; I expect you'll need to use those to rebuild this code on Windows.
Thank you MadScientist. Sorry I should of put windows when making the post. I will try and create the file on linux.
– G33
Nov 11 at 15:52
add a comment |
up vote
0
down vote
accepted
up vote
0
down vote
accepted
You didn't tell us the critical information, that you're trying to do this on Windows. I can tell that you are, because the error message i was unexpected at this time. is a message printed by the Windows terminal command line.
That makefile is written for a POSIX system such as GNU/Linux. You won't be able to use it on Windows, without a lot of modification.
According to the README file there are Visual Studio project files available in the Git repository; I expect you'll need to use those to rebuild this code on Windows.
You didn't tell us the critical information, that you're trying to do this on Windows. I can tell that you are, because the error message i was unexpected at this time. is a message printed by the Windows terminal command line.
That makefile is written for a POSIX system such as GNU/Linux. You won't be able to use it on Windows, without a lot of modification.
According to the README file there are Visual Studio project files available in the Git repository; I expect you'll need to use those to rebuild this code on Windows.
answered Nov 11 at 14:20
MadScientist
44.5k44664
44.5k44664
Thank you MadScientist. Sorry I should of put windows when making the post. I will try and create the file on linux.
– G33
Nov 11 at 15:52
add a comment |
Thank you MadScientist. Sorry I should of put windows when making the post. I will try and create the file on linux.
– G33
Nov 11 at 15:52
Thank you MadScientist. Sorry I should of put windows when making the post. I will try and create the file on linux.
– G33
Nov 11 at 15:52
Thank you MadScientist. Sorry I should of put windows when making the post. I will try and create the file on linux.
– G33
Nov 11 at 15:52
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53241338%2fhaving-problems-with-make-file-within-git%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Welcome to Stack Overflow. Please read the About and How to Ask pages soon. More urgently, you need to read about how to create an MCVE (Minimal, Complete, and Verifiable example). Please don't rely only on an external site to give us information. The question should be self-contained, though you might reference an external site to let us know where more complete information can be obtained. It's hard to guess what's wrong without the lines in the makefile that trigger the complaint. It may be that you didn't indent the line with the
for
loop with a tab, or it may be something else altogether. That's why we need an MCVE.– Jonathan Leffler
Nov 11 at 3:40
Possible duplicate of Looping through string values from a windows command line bat file
– Tsyvarev
Nov 11 at 16:33