You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
962 B
29 lines
962 B
# This is the name of the file that shall be created. (It is also the name of my primary source file, without the file extension.)
|
|
TARGET = main
|
|
|
|
# create a variable that only pertains to this project
|
|
#MY_OWN_LIBRARY_DIR = /usr/home/MJ/Arduino/libraries/mj_midi
|
|
|
|
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/variants/standard \
|
|
${base}/libraries/RF24 \
|
|
${base}/libraries/SoftPWM \
|
|
|
|
# specify *.c source files pertaining to my project
|
|
SRC =
|
|
|
|
# specify *.cpp source files pertaining to my project
|
|
PSRC = main.cpp
|
|
|
|
# specify additional (non-core) Arduino libraries to include
|
|
|
|
ARDLIBS = RF24 SoftPWM
|
|
|
|
# include my base makefile
|
|
include ./BaseMake.mk
|