summaryrefslogtreecommitdiff
path: root/software/first/Makefile
diff options
context:
space:
mode:
authorSilvan Jegen <s.jegen@gmail.com>2019-08-31 19:17:53 +0200
committerSilvan Jegen <s.jegen@gmail.com>2019-08-31 19:17:53 +0200
commitd84454da4b1d985deb81d9f24dfa6dfb2abbff8c (patch)
tree22ff8ef277a14330c7c9838652bbd186d21310fc /software/first/Makefile
parente2f5174b7bf0c0fb0c226402738bed886d89c5e9 (diff)
software/first: add missed files
Diffstat (limited to 'software/first/Makefile')
-rw-r--r--software/first/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/software/first/Makefile b/software/first/Makefile
new file mode 100644
index 0000000..309ea3d
--- /dev/null
+++ b/software/first/Makefile
@@ -0,0 +1,9 @@
+# Copyright 2019 SiFive, Inc #
+# SPDX-License-Identifier: Apache-2.0 #
+
+PROGRAM ?= first
+
+$(PROGRAM): $(wildcard *.c) $(wildcard *.h) $(wildcard *.S)
+
+clean:
+ rm -f $(PROGRAM) $(PROGRAM).hex