update makefile to overide includes if necessary
This commit is contained in:
2
Makefile
2
Makefile
@@ -2,7 +2,7 @@
|
|||||||
F_CPU = 16000000UL
|
F_CPU = 16000000UL
|
||||||
TARGET = main
|
TARGET = main
|
||||||
CC = avr-gcc
|
CC = avr-gcc
|
||||||
INCLUDES = -I../../headers/
|
INCLUDES ?= -I../../headers/ # ?= : dont define if already defined
|
||||||
|
|
||||||
AVRGCC_MCU_TYPE = atmega328p
|
AVRGCC_MCU_TYPE = atmega328p
|
||||||
AVRDUDE_MCU_TYPE = m328p
|
AVRDUDE_MCU_TYPE = m328p
|
||||||
|
|||||||
Reference in New Issue
Block a user