summaryrefslogtreecommitdiff
path: root/examples/unit/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'examples/unit/Makefile')
-rw-r--r--examples/unit/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/examples/unit/Makefile b/examples/unit/Makefile
new file mode 100644
index 0000000..aadf541
--- /dev/null
+++ b/examples/unit/Makefile
@@ -0,0 +1,19 @@
+CC = clang
+SINC = ../../sinter
+
+TRGT = $(patsubst %.sin,%,$(wildcard test*.sin))
+LDFLAGS = -L$(HOME)/usr/lib
+LDLIBS = -lgc
+
+include ../../common.mak
+
+.PHONY: default all clean
+
+default: all
+
+all: $(TRGT)
+
+$(TRGT): test_framework.o ../../common.o
+
+clean:
+ $(RM) *.o *.ll $(TRGT)