diff options
| author | Tom Harley | 2020-01-08 14:14:39 +0000 |
|---|---|---|
| committer | Tom Harley | 2020-01-08 14:14:39 +0000 |
| commit | 4cdc57ce8041aecabd3175f2dff176b115f17724 (patch) | |
| tree | da9a25e2d18ce5f4415d4c61441962e9e06ee727 /examples/nq/Makefile | |
| parent | checkpoint (diff) | |
| download | sinter-4cdc57ce8041aecabd3175f2dff176b115f17724.tar.gz sinter-4cdc57ce8041aecabd3175f2dff176b115f17724.zip | |
I should commit more
Diffstat (limited to 'examples/nq/Makefile')
| -rw-r--r-- | examples/nq/Makefile | 27 |
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) |
