NEW: Learning electronics? Ask your questions on the new Electronics Questions & Answers site hosted by CircuitLab.
Support Forum » Making a make file
October 20, 2011 by mewatzittoya |
I am trying to make the music with an mcu project. The only problem I am having is creating the make file. This make file does not work(I changed the name from musicbox1 to musicbox)
I do not know what is wrong. Any help making this file is appreciated! |
---|---|
October 21, 2011 by Ralphxyz |
And the error you get is?? "This doesn't work" is kinda hard to trouble shoot. Ralph |
October 21, 2011 by mewatzittoya |
That is what my terminal window said. |
October 21, 2011 by hevans (NerdKits Staff) |
Did you by any chance happen to replace the tabs at the begginign of the lines with spaces? Make needs TABs at the begginign of the lines, and to separate the dependencies from the target names. Humberto |
October 22, 2011 by Ralphxyz |
Just copy paste will sometime replace the tabs with spaces on my Mac mini!! So you need:
Ralph |
October 22, 2011 by mewatzittoya |
I get different errors now. Could the problem be I have the ATmega168 and it needs the ATtiny26L? |
October 22, 2011 by treymd |
Yes, the compiler (actually probably the assembler) needs to know what the target device is. |
October 22, 2011 by Ralphxyz |
And the "errors" are?
Why would you ask that? We need details in order to help you otherwise we would just be guessing like you. We do not have the slightest idea of what exactly you are trying to do, nor can we see any error messages. You have to help us help you. Ralph |
Please log in to post a reply.
Did you know that signed numbers need to be sign-extended when chaging variable sizes? Learn more...
|