added arduino, modified build

This commit is contained in:
2020-02-02 15:28:36 -08:00
parent 0189d519c6
commit 6480bc593f
3583 changed files with 1305025 additions and 247 deletions

View File

@@ -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