This is what I finally did.
Example Makefile:
TARGET:= main
DIR:=../../framework/
SRC:=mygl.cpp
CXX:=g++
CXXFLAGS :=-Wall -std=c++11 -g
LDFLAGS := -lframework -lpthread -lGL -lGLEW...
Type: Posts; User: manasij7479
This is what I finally did.
Example Makefile:
TARGET:= main
DIR:=../../framework/
SRC:=mygl.cpp
CXX:=g++
CXXFLAGS :=-Wall -std=c++11 -g
LDFLAGS := -lframework -lpthread -lGL -lGLEW...
Thanks.
Can't believe I didn't think of putting them on the 'same level' before.
Would have to tinker a bit to get it working nicely.
**Wow..a lot of typos in my original post.
And now I'm...
I am making an OpenGL framework on which to base my code on while learning OpenGL (and Computer Graphics in general).
It is structured in a way that I only have to modify a few data files and...