added arduino, modified build
This commit is contained in:
10
Makefile.mk
10
Makefile.mk
@@ -4,14 +4,15 @@ TARGET = main
|
||||
# create a variable that only pertains to this project
|
||||
#MY_OWN_LIBRARY_DIR = /usr/home/MJ/Arduino/libraries/mj_midi
|
||||
|
||||
base = /home/mrh/Downloads/arduino-1.8.8-linux64/arduino-1.8.8
|
||||
base = ./arduino
|
||||
|
||||
# "EXTRAINCDIRS" is a variable used by the base makefile. The base makefile creates a -I compiler flag for every item in the "EXTRAINCDIRS" list.
|
||||
EXTRAINCDIRS = \
|
||||
${base}/hardware/arduino/avr/libraries/SPI/src \
|
||||
${base}/hardware/arduino/avr/cores/arduino \
|
||||
${base}/hardware/arduino/avr/cores/arduino \
|
||||
${base}/hardware/arduino/avr/variants/standard \
|
||||
${base}/libraries/RF24 \
|
||||
${base}/libraries/SoftPWM \
|
||||
|
||||
# specify *.c source files pertaining to my project
|
||||
SRC =
|
||||
@@ -20,7 +21,8 @@ SRC =
|
||||
PSRC = main.cpp
|
||||
|
||||
# specify additional (non-core) Arduino libraries to include
|
||||
ARDLIBS = RF24
|
||||
|
||||
ARDLIBS = RF24 SoftPWM
|
||||
|
||||
# include my base makefile
|
||||
include ./Makefile.base
|
||||
include ./BaseMake.mk
|
||||
|
||||
Reference in New Issue
Block a user