]> git.lizzy.rs Git - shadowclad.git/commitdiff
Remove redundant library paths
authoroutfrost <kotlet.bahn@gmail.com>
Sat, 2 May 2020 21:47:36 +0000 (23:47 +0200)
committeroutfrost <kotlet.bahn@gmail.com>
Sat, 2 May 2020 21:47:36 +0000 (23:47 +0200)
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