aboutsummaryrefslogtreecommitdiff
path: root/fw/Makefile
diff options
context:
space:
mode:
authorjaseg <git@jaseg.net>2019-01-12 22:38:23 +0900
committerjaseg <git@jaseg.net>2019-01-12 22:38:23 +0900
commit2d392fe60a9cc6c9541ae5db9b7857b7c0cdae06 (patch)
tree08c3cc55ac3938086a2845fa8a8a7e3a03814ba0 /fw/Makefile
parent43f64f0e1fad6e3586cdd5b6f0243f03db9adc23 (diff)
download8seg-2d392fe60a9cc6c9541ae5db9b7857b7c0cdae06.tar.gz
8seg-2d392fe60a9cc6c9541ae5db9b7857b7c0cdae06.tar.bz2
8seg-2d392fe60a9cc6c9541ae5db9b7857b7c0cdae06.zip
bulk cmd test works
Diffstat (limited to 'fw/Makefile')
-rw-r--r--fw/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/fw/Makefile b/fw/Makefile
index 3050fd1..16cf5c7 100644
--- a/fw/Makefile
+++ b/fw/Makefile
@@ -92,6 +92,9 @@ program: main.elf openocd.cfg
8b10b_test_decode: 8b10b_test_decode.c 8b10b.c
gcc -o $@ $^
+protocol_test: protocol.c protocol_test.c
+ gcc -o $@ -O0 -Wall -Wextra -g -I../common $^
+
clean:
rm -f **.o
rm -f main.elf main.hex main.bin main.map main.lst
@@ -101,4 +104,5 @@ clean:
rm -f sources.tar.xz.zip
rm -f sources.c
rm -f *.dot
+ rm -f protocol_test