aboutsummaryrefslogtreecommitdiffstats
path: root/ortho/oread/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ortho/oread/Makefile')
-rw-r--r--ortho/oread/Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/ortho/oread/Makefile b/ortho/oread/Makefile
new file mode 100644
index 000000000..c297af071
--- /dev/null
+++ b/ortho/oread/Makefile
@@ -0,0 +1,25 @@
+BE = gcc
+ortho_srcdir=..
+BACK_END=$(ortho_srcdir)/$(BE)
+ortho_exec=oread-$(BE)
+all: $(ortho_exec)
+
+test: test.s
+ $(CC) -o $@ $^
+
+test.s: $(ortho_exec)
+ ./$(ortho_exec) test
+
+$(ortho_exec): force
+ $(MAKE) -f $(BACK_END)/Makefile ortho_exec=$(ortho_exec)
+
+clean:
+ $(MAKE) -f $(BACK_END)/Makefile clean
+ $(RM) -f oread *.o *~
+
+distclean: clean
+ $(MAKE) -f $(BACK_END)/Makefile distclean
+
+force:
+
+.PHONY: force