summaryrefslogtreecommitdiff
path: root/examples/Makefile
diff options
context:
space:
mode:
authorTom Harley2019-12-23 01:32:39 +0000
committerTom Harley2019-12-23 01:32:39 +0000
commit7bc67b95161a34f8eca635d4000d9602508a9243 (patch)
tree585b3778dc1967832390e5829e4b3909b4184a2c /examples/Makefile
parentAdd basics for interpreter; add CLI options (diff)
downloadsinter-7bc67b95161a34f8eca635d4000d9602508a9243.tar.gz
sinter-7bc67b95161a34f8eca635d4000d9602508a9243.zip

checkpoint

Diffstat (limited to 'examples/Makefile')
-rw-r--r--examples/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/examples/Makefile b/examples/Makefile
new file mode 100644
index 0000000..3707e79
--- /dev/null
+++ b/examples/Makefile
@@ -0,0 +1,23 @@
+CC = clang
+CXX = clang++
+SINC = ../sinter
+
+CFLAGS = -g -O0 -Werror -Wpedantic -Wall
+LDFLAGS = -L$(HOME)/usr/lib -g
+LDLIBS = -lgc
+
+LLCFLAGS = $(CFLAGS)
+SINCFLAGS =
+
+TRGT =
+
+include ../common.mak
+
+.PHONY: default all clean
+
+default: all
+
+all: $(TRGT)
+
+clean:
+ $(RM) *.ll *.dot *.svg *.o $(TRGT)