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.










share|improve this question
























  • 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















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.










share|improve this question
























  • 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













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.










share|improve this question















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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 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


















  • 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
















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












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.






share|improve this answer





















  • 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













Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














 

draft saved


draft discarded


















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

























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.






share|improve this answer





















  • 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

















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.






share|improve this answer





















  • 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















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.






share|improve this answer












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.







share|improve this answer












share|improve this answer



share|improve this answer










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




















  • 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




















 

draft saved


draft discarded



















































 


draft saved


draft discarded














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





















































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







Popular posts from this blog

Florida Star v. B. J. F.

Danny Elfman

Lugert, Oklahoma