From 167b48703f724d66ec50997587d0c45b18a947b9 Mon Sep 17 00:00:00 2001 From: Jimmy Date: Thu, 10 Dec 2020 17:15:40 +1300 Subject: [PATCH] Moved main.cpp to test folder --- makefile | 4 ++-- {src => test}/main.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename {src => test}/main.cpp (89%) diff --git a/makefile b/makefile index 665f8ab..3e8e556 100644 --- a/makefile +++ b/makefile @@ -8,7 +8,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 default: build flash @@ -28,4 +28,4 @@ debug: flash avarice avr-gdb -ex "target remote :4242" bin/main.elf avarice: - avarice --file bin/main.elf --part ${MCU} --${DEBUGGER} :4242 \ No newline at end of file + avarice --file bin/main.elf --part ${MCU} --${DEBUGGER} :4242 diff --git a/src/main.cpp b/test/main.cpp similarity index 89% rename from src/main.cpp rename to test/main.cpp index 4137c04..1af570b 100644 --- a/src/main.cpp +++ b/test/main.cpp @@ -2,7 +2,7 @@ #include #include #include -#include "photointerrupter.h" +#include "../src/photointerrupter.h" int main()