aboutsummaryrefslogtreecommitdiff
path: root/puzzle/dummy/makefile
diff options
context:
space:
mode:
authorThomasintAnker <thomasintanker1@gmail.com>2024-06-24 14:59:56 +0200
committerThomasintAnker <thomasintanker1@gmail.com>2024-06-24 14:59:56 +0200
commita0c664908b9112306c5858ccb106d1a0e5555df7 (patch)
tree8ca77d1210d1683a97f4da131c6ffac8123d4375 /puzzle/dummy/makefile
parent381149dd7a1f4d5f48dd5ac07186c73371ff3c04 (diff)
parentec7f5e970ed03acb33eb5dc3b67f3d52af52e6dc (diff)
merge main into wip/mc
Diffstat (limited to 'puzzle/dummy/makefile')
-rw-r--r--puzzle/dummy/makefile16
1 files changed, 2 insertions, 14 deletions
diff --git a/puzzle/dummy/makefile b/puzzle/dummy/makefile
index 509d8e3..6b8341b 100644
--- a/puzzle/dummy/makefile
+++ b/puzzle/dummy/makefile
@@ -3,18 +3,6 @@ TARGET = $(BUILD_DIR)/main.elf
include ../../lazy.mk
export SERIAL_PORT ?= /dev/ttyACM0
-flash: upload-main;
-upload-main: $(TARGET)
-
-test: test_a test_b;
-
-test_a:
- $(MAKE) -C . clean
- $(MAKE) -E CMFLAGS+=-D\ CMAKE_CXX_FLAGS=-DTEST_A -C .
- $(MAKE) -E SERIAL_PORT=/dev/ttyACM0 -C . flash
-
-test_b:
- $(MAKE) -C . clean
- $(MAKE) -E CMFLAGS+=-D\ CMAKE_CXX_FLAGS=-DTEST_B -C .
- $(MAKE) -E SERIAL_PORT=/dev/ttyACM1 -C . flash
+flash: upload;
+upload: $(TARGET)