From f68b69f5d2e99143d371c6e50ca28f0d5ff739c5 Mon Sep 17 00:00:00 2001 From: Tomasz Kramkowski Date: Wed, 28 Mar 2018 00:15:46 +0100 Subject: Makefile: -lm needed on linux --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3-54-g00ecf