aboutsummaryrefslogtreecommitdiffstats
path: root/src/testapp1/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/testapp1/Makefile')
-rw-r--r--src/testapp1/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testapp1/Makefile b/src/testapp1/Makefile
index 98dcc23..68c15e9 100644
--- a/src/testapp1/Makefile
+++ b/src/testapp1/Makefile
@@ -24,7 +24,7 @@ BUILD_DIR=build
APP_NAME = testapp1
# Application object files
-APP_OBJECTS = main.o
+APP_OBJECTS = main.o morse.o
# Library object files to build and use
LIB_OBJECTS =
@@ -92,7 +92,7 @@ clean:
rm -rf build
# Send to device
-program: $(BUILD_DIR)/$(APP_HEX)
+program: $(APP_HEX)
$(SIZE) -C $(BUILD_DIR)/$(APP_ELF)
$(AVRDUDE) $(AVRDUDE_FLAGS) -c $(PROG) -P $(AVRDUDE_DEV) -p $(AVRDUDE_PART) -U flash:w:$(BUILD_DIR)/$(APP_HEX) -v