aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/mppa_k1c/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/mppa_k1c/Makefile')
-rw-r--r--runtime/mppa_k1c/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/runtime/mppa_k1c/Makefile b/runtime/mppa_k1c/Makefile
new file mode 100644
index 00000000..d447d35b
--- /dev/null
+++ b/runtime/mppa_k1c/Makefile
@@ -0,0 +1,8 @@
+CFILES=$(wildcard *.c)
+SFILES=$(subst .c,.s,$(CFILES))
+
+all: $(SFILES)
+
+.SECONDARY:
+%.S: %.c
+ k1-gcc -O2 -S $< -o $@