summaryrefslogtreecommitdiff
path: root/examples/nq/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'examples/nq/Makefile')
-rw-r--r--examples/nq/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/examples/nq/Makefile b/examples/nq/Makefile
new file mode 100644
index 0000000..a2ad100
--- /dev/null
+++ b/examples/nq/Makefile
@@ -0,0 +1,27 @@
+CC = clang
+CXX = clang++
+SINC = ../../sinter
+
+DEBUG = -g -O3
+
+CFLAGS = $(DEBUG) -Werror -Wpedantic -Wall -I$(HOME)/usr/include
+LDFLAGS = $(DEBUG) -L$(HOME)/usr/lib
+LDLIBS = -lgc
+
+LLCFLAGS = $(DEBUG) -Werror -Wpedantic -Wall
+SINCFLAGS = -v
+
+TRGT = nqueens
+
+include ../../common.mak
+
+.PHONY: default all clean
+
+default: all
+
+all: $(TRGT)
+
+$(TRGT): nqueens.o util.o either.o list.o closures.o run_func.o glue.o
+
+clean:
+ $(RM) *.ll *.dot *.svg *.o $(TRGT)