From 7bc67b95161a34f8eca635d4000d9602508a9243 Mon Sep 17 00:00:00 2001 From: Tom Harley Date: Mon, 23 Dec 2019 01:32:39 +0000 Subject: checkpoint --- examples/unit/Makefile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 examples/unit/Makefile (limited to 'examples/unit/Makefile') 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) -- cgit v1.2.1