Add a bit of a component tree

This commit is contained in:
Ben Visness
2018-05-27 21:36:00 -05:00
parent 2d71b1b11b
commit 373e9517b4
7 changed files with 306 additions and 141 deletions

View File

@@ -1,5 +1,7 @@
BUILD_DIR=build
CXXFLAGS+=-std=c++11
clean:
rm -rf $(BUILD_DIR)
@@ -13,8 +15,8 @@ example:
mkdir -p $(BUILD_DIR)/example
cd $(BUILD_DIR)/example \
&& $(CXX) $(CPPFLAGS) $(CXXFLAGS) -ohmmexample \
-I../../external/glfw/include \
-I../../external/glfw/include -I../../.. \
-L../glfw/src \
-lglew -lglfw3 \
-framework OpenGL -framework Cocoa -framework IOKit -framework CoreVideo \
../../src/main.cpp
../../src/*.cpp