aboutsummaryrefslogtreecommitdiffstats
path: root/test/monniaux/frame_pointer/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'test/monniaux/frame_pointer/Makefile')
-rw-r--r--test/monniaux/frame_pointer/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/monniaux/frame_pointer/Makefile b/test/monniaux/frame_pointer/Makefile
new file mode 100644
index 00000000..ff4b187d
--- /dev/null
+++ b/test/monniaux/frame_pointer/Makefile
@@ -0,0 +1,16 @@
+whole : a.o b.o
+ ../../../ccomp $+ -o $@
+
+a.s : a.c
+ k1-cos-gcc -std=c99 -Wall -S $<
+
+b.s : b.c
+ ../../../ccomp -Wall -Wno-c11-extensions -S $<
+
+%.o : %.s
+ k1-cos-gcc -c $<
+
+clean:
+ -rm -f a.o b.o a.s b.s whole
+
+.PHONY: clean