aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 60567c3..fc44bef 100644
--- a/Makefile
+++ b/Makefile
@@ -43,7 +43,8 @@ INCS = $(addprefix ${SRC_DIR}, $(addsuffix .h, ${SRC_NAME}))
INCS += $(addprefix ${SRC_DIR}, $(addsuffix .h, ${INC_NAME}))
OBJS = $(patsubst ${SRC_DIR}%.c, ${OBJ_DIR}%.c.o, ${SRCS})
-ARDUINO = arduino-cli --config-file ${XDG_CONFIG_HOME}/arduino-cli/arduino-cli.yaml
+ARDUINO = arduino-cli --config-file \
+ ${XDG_CONFIG_HOME}/arduino-cli/arduino-cli.yaml
CC = cc
CFLAGS = -std=c89
CFLAGS += -Wall
@@ -67,6 +68,9 @@ MKDIR = mkdir -p
RMDIR = rmdir
RM = rm -rf
+echo:
+ echo ${ARDUINO}
+
${OBJ_DIR}%.c.o: ${SRC_DIR}%.c ${INCS} Makefile
${CC} ${CFLAGS} -c ${CINCS} -o $@ $<