]> git.lizzy.rs Git - shadowclad.git/blobdiff - Makefile
Remove redundant library paths
[shadowclad.git] / Makefile
index 2d28f78d95078f1cebe7077d9d6626be41a6b74c..af858fd3f973271bf34699a4fce7d2065a2f27f2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ SRCDIR ?= src
 CPPFLAGS ::= -iquotesrc/ $(CPPFLAGS)
 CFLAGS ::= -g -std=c99 -Wall -Wextra -Wpedantic -Werror $(CFLAGS)
 LDFLAGS ::= $(LDFLAGS)
-LDLIBS ::= -L/usr/local/lib -lGL -lGLEW -lglut -lassimp $(LDLIBS)
+LDLIBS ::= -lGL -lGLEW -lglut -lassimp $(LDLIBS)
 
 # ######
 # Paths
@@ -69,7 +69,7 @@ init:
 # Build and run
 run: $(binary)
        @echo
-       @LD_LIBRARY_PATH=/usr/local/lib $(binary)
+       @$(binary)
 .PHONY: run
 
 # Build executable