mihaigalos / miniboot

🏗️ An I2C bootloader for Arduino.
GNU General Public License v3.0
65 stars 18 forks source link

Makefile: Fix building on linux #5

Closed robimarko closed 6 years ago

robimarko commented 6 years ago

Having \n in echo will not produce a newline but rather echo will literaly print out \n in the line. This is off course not really liked by gcc-avr and it wont compile. In file included from miniboot.c:6:0: bootloader.h:2:13: error: extra tokens at end of #pragma directive [-Werror]

pragma once\n

         ^

cc1plus: all warnings being treated as errors

While we are at it get rid of few left whitespaces.

Signed-off-by: Robert Marko robimarko@gmail.com