aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomasz Kramkowski <tk@the-tk.com>2018-03-28 00:15:46 +0100
committerTomasz Kramkowski <tk@the-tk.com>2018-03-28 00:18:53 +0100
commitf68b69f5d2e99143d371c6e50ca28f0d5ff739c5 (patch)
tree21917a364d9d851204ad52bceb375e14b11faf57
parent813216d03f41018b9c46b8a0e6eb648e0a704dc1 (diff)
downloadfaqe-f68b69f5d2e99143d371c6e50ca28f0d5ff739c5.tar.gz
faqe-f68b69f5d2e99143d371c6e50ca28f0d5ff739c5.tar.xz
faqe-f68b69f5d2e99143d371c6e50ca28f0d5ff739c5.zip
Makefile: -lm needed on linux
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5abbc46..1f026a1 100644
--- a/Makefile
+++ b/Makefile
@@ -12,7 +12,7 @@ LIBS := glfw3
CPPFLAGS += -D__gl_h_
CFLAGS += $(shell $(PKG_CONFIG) --cflags $(LIBS)) -std=c11 -MMD -MP
LDFLAGS += -Wl,--as-needed
-LDLIBS += $(shell $(PKG_CONFIG) --libs $(LIBS))
+LDLIBS += $(shell $(PKG_CONFIG) --libs $(LIBS)) -lm
OBJ := gltest.o loadgl.o eprintf.o vert.o frag.o glprog.o
DEP := $(OBJ:.o=.d)