mirror of https://github.com/rusefi/wideband.git
better io file arrangement - Makefile gives more flexibility than relative path from .cpp file (#30)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
This commit is contained in:
parent
28ac0c61f0
commit
fa8e2b1deb
|
@ -152,7 +152,7 @@ ASMSRC = $(ALLASMSRC)
|
|||
ASMXSRC = $(ALLXASMSRC)
|
||||
|
||||
# Inclusion directories.
|
||||
INCDIR = $(CONFDIR) $(ALLINC) $(TESTINC) boards/
|
||||
INCDIR = $(CONFDIR) $(ALLINC) boards/ $(BOARDDIR)/io/
|
||||
|
||||
# Define C warning options here.
|
||||
CWARN = -Wall -Wextra -Wundef -Wstrict-prototypes
|
||||
|
|
|
@ -128,7 +128,8 @@ ASMSRC = $(ALLASMSRC)
|
|||
ASMXSRC = $(ALLXASMSRC)
|
||||
|
||||
# Inclusion directories.
|
||||
INCDIR = $(CONFDIR) $(ALLINC) $(TESTINC) $(SRCDIR)/shared/
|
||||
INCDIR = $(CONFDIR) $(ALLINC) $(SRCDIR)/shared/ \
|
||||
../io
|
||||
|
||||
# Define C warning options here.
|
||||
CWARN = -Wall -Wextra -Wundef -Wstrict-prototypes
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#include "hal.h"
|
||||
|
||||
#include "flash.h"
|
||||
#include "../io_pins.h"
|
||||
#include "io_pins.h"
|
||||
|
||||
#include <cstring>
|
||||
|
||||
|
|
Loading…
Reference in New Issue