update makefile to overide includes if necessary
This commit is contained in:
4
Makefile
4
Makefile
@@ -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
|
||||
@@ -80,4 +80,4 @@ dump:
|
||||
clean:
|
||||
rm -f main.hex main.bin *.o
|
||||
|
||||
.PHONY : all clean hex flash restore
|
||||
.PHONY : all clean hex flash restore
|
||||
|
||||
Reference in New Issue
Block a user