aboutsummaryrefslogtreecommitdiff
path: root/VexRiscvSocSoftware/projects/briey/dhrystone/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'VexRiscvSocSoftware/projects/briey/dhrystone/makefile')
-rw-r--r--VexRiscvSocSoftware/projects/briey/dhrystone/makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/VexRiscvSocSoftware/projects/briey/dhrystone/makefile b/VexRiscvSocSoftware/projects/briey/dhrystone/makefile
new file mode 100644
index 0000000..b09dd74
--- /dev/null
+++ b/VexRiscvSocSoftware/projects/briey/dhrystone/makefile
@@ -0,0 +1,26 @@
+PROJ_NAME=dhrystone
+DEBUG=no
+BENCH=yes
+MULDIV=yes
+
+
+
+CFLAGS += -fno-inline -fno-common
+LDFLAGS += -lc
+
+CFLAGS += -DPREALLOCATE=1 -DHOST_DEBUG=0 -DMSC_CLOCK
+
+
+SRCS = src/main.c src/dhry_1.c src/dhry_2.c src/crt.S src/stdlib.c
+LDFLAGS += -lc #Used to get memcpy/strcmp stuff only
+
+INC += -I../../../libs/
+INC += -I../libs/
+LDSCRIPT = ../libs/linker.ld
+
+
+include ../../../resources/gcc.mk
+include ../../../resources/subproject.mk
+
+
+