diff --git a/makefile b/makefile index 661d854..cfdf81e 100644 --- a/makefile +++ b/makefile @@ -6,7 +6,7 @@ CC=avr-g++ OBJCOPY=avr-objcopy CFLAGS=-Wall -g -mmcu=${MCU} -DF_CPU=${F_CPU} -I. TARGET=main -SRCS= src/*.cpp +SRCS= src/*.cpp test/main.cpp all: build flash diff --git a/src/main.cpp b/test/main.cpp similarity index 85% rename from src/main.cpp rename to test/main.cpp index 770521e..8d72b75 100644 --- a/src/main.cpp +++ b/test/main.cpp @@ -1,6 +1,6 @@ #include #include -#include "usart.h" +#include "../src/usart.h" #include