]> code.bitgloo.com Git - clyne/gamedev2.git/commitdiff
Makefile updated to support OpenGL and GLEW
authorAndy Belle-Isle <drumsetmonkey@gmail.com>
Sun, 1 Sep 2019 03:36:23 +0000 (23:36 -0400)
committerAndy Belle-Isle <drumsetmonkey@gmail.com>
Sun, 1 Sep 2019 03:36:23 +0000 (23:36 -0400)
Makefile

index ce5b043d3e4d48bbdd607bdcbbd8f91223b4a174..79c55b933142af7f0896bc511904988241ad3a10 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -36,7 +36,7 @@ OBJEXT = o
 DEPEXT = d
 
 LIBDIR = lib
-LIBS   = -L$(LIBDIR) -lSDL2 -lpthread -lentityx -ldl -lluajit
+LIBS   = -L$(LIBDIR) -lSDL2 -lpthread -lentityx -ldl -lluajit -lGLEW -lGL
 
 CXXFLAGS = -ggdb -std=c++17 -Wall -Wextra -Werror -pedantic
 
@@ -63,7 +63,7 @@ clean:
        @$(RM) -rf $(OUTDIR)
 
 cleaner: clean
-       @$(RM) -rf $(EXECDIR)
+#@$(RM) -rf $(EXECDIR)
 
 $(EXEC): $(CXXOBJ)
        @echo "  CXX   " $(EXEC)