mirror of
https://github.com/aap/librw.git
synced 2025-12-19 17:09:51 +00:00
clean up; gl test compiles under freebsd (but see makefile)
This commit is contained in:
@@ -3,10 +3,13 @@ SRC = main.cpp glshader.cpp math.cpp camera.cpp
|
||||
OBJ = $(patsubst %.cpp, $(BUILDDIR)/%.o, $(SRC))
|
||||
DEP = $(patsubst %.cpp, $(BUILDDIR)/%.d, $(SRC))
|
||||
RWDIR=$(HOME)/src/librw
|
||||
|
||||
#LDLIBS=-pthread -lX11 -lXrandr -lXi -lXxf86vm -lGL -lGLEW -lm
|
||||
#STATICLIBS= $(RWDIR)/librw-opengl.a /usr/local/lib/libglfw3.a
|
||||
|
||||
LDLIBS=-pthread -lGL -lGLEW -lglfw
|
||||
STATICLIBS=$(RWDIR)/librw-opengl.a
|
||||
|
||||
CFLAGS=-g -I$(RWDIR) -Wall -Wextra
|
||||
|
||||
rwtest: $(OBJ) $(STATICLIBS)
|
||||
|
||||
Reference in New Issue
Block a user