aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 44e0192..26f5ec1 100644
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,11 @@
-CC = gcc
+CC = clang
CFLAGS = -std=c11 -Wall -g
BIN = ml
OBJDIR = objs
SRC = $(wildcard src/*.c)
HEADERS = $(wildcard src/*.h)
OBJS = $(SRC:src/%.c=${OBJDIR}/%.o)
-DLIBS = -ljson-c -lm
+DLIBS = -lm $(shell pkg-config --libs-only-l blas json-c)
.PHONY: clean all run
all: build
Feel free to download, copy and edit any repo