summaryrefslogtreecommitdiff
path: root/software/performance_counters/Makefile
diff options
context:
space:
mode:
authorMegan Wachs <megan@sifive.com>2017-03-01 13:59:07 -0800
committerGitHub <noreply@github.com>2017-03-01 13:59:07 -0800
commit3a01ac1b7c0e72c04679f0cd6552c4ff0b308863 (patch)
tree36649005d9b10dd1303116927d3dd14eeb6a4bf5 /software/performance_counters/Makefile
parentb7c778c4e0b26e719226053a204142c0cb54dd4b (diff)
parent1f7bd8343e01e9e17007ec05353b394e8157dfea (diff)
Merge pull request #53 from sifive/counters_demo
Add Performance Counter Demo
Diffstat (limited to 'software/performance_counters/Makefile')
-rw-r--r--software/performance_counters/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/software/performance_counters/Makefile b/software/performance_counters/Makefile
new file mode 100644
index 0000000..eb3e8f1
--- /dev/null
+++ b/software/performance_counters/Makefile
@@ -0,0 +1,6 @@
+TARGET = performance_counters
+C_SRCS += performance_counters.c
+CFLAGS += -O2 -fno-builtin-printf
+
+BSP_BASE = ../../bsp
+include $(BSP_BASE)/env/common.mk