summaryrefslogtreecommitdiff
path: root/software/first/Makefile
diff options
context:
space:
mode:
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