update makefile to overide includes if necessary

This commit is contained in:
hugo LAMY
2025-03-12 19:45:35 +01:00
parent 33e9df5d37
commit f42bd2f869

View File

@@ -2,7 +2,7 @@
F_CPU = 16000000UL
TARGET = main
CC = avr-gcc
INCLUDES = -I../../headers/
INCLUDES ?= -I../../headers/ # ?= : dont define if already defined
AVRGCC_MCU_TYPE = atmega328p
AVRDUDE_MCU_TYPE = m328p