diff --git a/Makefile b/Makefile index c23101f..aa886bb 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ UPLOAD_PORT ?= /dev/ttyUSB0 all: build build: - arduino-cli compile -b ${BOARD_NAME} smartswitch.ino + arduino-cli compile -b ${BOARD_NAME} ${PWD} upload: - arduino-cli upload -b ${BOARD_NAME} -p ${UPLOAD_PORT} smartswitch.ino + arduino-cli upload -b ${BOARD_NAME} -p ${UPLOAD_PORT} ${PWD}