summaryrefslogtreecommitdiffstats
path: root/tools/firmware/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/firmware/Makefile')
-rw-r--r--tools/firmware/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/firmware/Makefile b/tools/firmware/Makefile
new file mode 100644
index 000000000..cfb297e6e
--- /dev/null
+++ b/tools/firmware/Makefile
@@ -0,0 +1,13 @@
+# SPDX-License-Identifier: GPL-2.0
+# Makefile for firmware tools
+
+CFLAGS = -Wall -Wextra -g
+
+all: ihex2fw
+%: %.c
+ $(CC) $(CFLAGS) -o $@ $^
+
+clean:
+ $(RM) ihex2fw
+
+.PHONY: all clean