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 90ec09f..d0240b9 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,9 @@
CC := cc
CFLAGS := -Wall -Wall -pedantic -std=c11
-DLIBS := -lglfw -lGLEW -lGL -lm
+DLIBS := $(shell pkg-config --libs glfw3 opengl glew)
OBJDIR = objs
SRCDIR = src
-OBJS = $(addprefix objs/,main.o linear.o)
+OBJS = $(addprefix objs/,main.o)
BIN = mverse
all: build
Feel free to download, copy and edit any repo