Clean up Makefile includes

This commit is contained in:
Rihards Skuja 2018-01-21 13:54:20 +02:00
parent dcca42d597
commit d0e9806d2b
No known key found for this signature in database
GPG Key ID: 53FA13A3F7F8571B
4 changed files with 7 additions and 6 deletions

View File

@ -30,7 +30,8 @@ CSTANDARD = -std=gnu99
CDEFS = -DF_CPU=16000000L -D__AVR__ -D__AVR_ATmega328P__ CDEFS = -DF_CPU=16000000L -D__AVR__ -D__AVR_ATmega328P__
# Place -I options here # Place -I options here
CINCS = -I $(INC_DIR) -I$(COMMON_INC_DIR) CINCS = -I /usr/avr/include -I /usr/lib/gcc/avr/7.2.0/include \
-I $(INC_DIR) -I $(COMMON_INC_DIR)
CTUNING = -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums CTUNING = -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums
#CEXTRA = -Wa,-adhlns=$(<:.c=.lst) #CEXTRA = -Wa,-adhlns=$(<:.c=.lst)

View File

@ -30,7 +30,8 @@ CSTANDARD = -std=gnu99
CDEFS = -DF_CPU=16000000L -D__AVR__ -D__AVR_ATmega328P__ CDEFS = -DF_CPU=16000000L -D__AVR__ -D__AVR_ATmega328P__
# Place -I options here # Place -I options here
CINCS = -I $(INC_DIR) -I$(COMMON_INC_DIR) CINCS = -I /usr/avr/include -I /usr/lib/gcc/avr/7.2.0/include \
-I $(INC_DIR) -I $(COMMON_INC_DIR)
CTUNING = -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums CTUNING = -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums
#CEXTRA = -Wa,-adhlns=$(<:.c=.lst) #CEXTRA = -Wa,-adhlns=$(<:.c=.lst)

View File

@ -1,7 +1,6 @@
#include <avr/interrupt.h> #include <avr/interrupt.h>
#include <util/delay.h> #include <util/delay.h>
#include "sonar.h" #include "sonar.h"
#include "led.h" #include "led.h"
volatile uint32_t trig_counter; volatile uint32_t trig_counter;