commit b33b0cd3fb0606700b43e4666455186286052199
parent 6577d577eacaba4024c2d7bd22ffe6ba93c4e5c9
Author: Martin Kloeckner <mjkloeckner@gmail.com>
Date: Sun, 28 Sep 2025 00:40:15 -0300
move `*.h` to `src/` dir
Diffstat:
3 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
@@ -1,14 +1,13 @@
PORT ?= /dev/ttyUSB0
BIN_DIR = bin
SRC_DIR = src
-INC_DIR = include
SRCS := $(wildcard $(SRC_DIR)/*.c)
-LIBS := $(INC_DIR/*.h)
+LIBS := $(SRC_DIR/*.h)
OBJS := $(patsubst $(SRC_DIR)/%.c,$(BIN_DIR)/%.o,$(SRCS))
CC := avr-gcc
-CFLAGS := -Wall -Os -DF_CPU=16000000UL -mmcu=atmega328p -I ./$(INC_DIR)
+CFLAGS := -Wall -Os -DF_CPU=16000000UL -mmcu=atmega328p
.PHONY: all
diff --git a/include/millis.h b/src/millis.h
diff --git a/include/scheduler.h b/src/scheduler.h