olikraus:
Will your Makefile work with Serial.print?
If yes, any idea why my Makefile fails with Serial.print?Oliver
Yes, the serial works.
No, not really. I suspect the linking is wrong. I tried modifying your makefile but with no luck. It also gave me linker warnings on a more complicated sketch. Eventually I made a shell script which mimicked the IDE output. After confirming it worked, I turned it into a makefile. The next step is to replace the sequential ar invocation with creating core.a in a single step, but I suspect this might be the cause of the serial port not working.
paul