summaryrefslogtreecommitdiff
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 ff3019e..7474f68 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,8 @@
CFLAGS=-g -Wall
CC=gcc
-LDFLAGS=$(shell pkg-config --cflags --libs libdrm)
-LDLIBS = -lm
+LDFLAGS=$(shell pkg-config --cflags libdrm)
+LDLIBS = $(shell pkg-config --libs libdrm) -lm
SOURCES=$(wildcard *.c)
EXECUTABLES=$(patsubst %.c,%,$(SOURCES))