add glcxx and glm submodules

This commit is contained in:
josh committed 2015-10-11 15:37:31 -04:00
1 parent eae60acb14
commit f80db8a3b5
4 files changed
+13 -1

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
[submodule "glm"]
path = glm
url = git://github.com/g-truc/glm.git
+8 -1
View File
@@ -1,5 +1,6 @@
FILE := app
TARGET := $(FILE)
REPOS := glcxx glm
CCFLAGS := $(shell sdl2-config --cflags)
ifeq (MINGW,$(findstring MINGW,$(shell uname)))
@@ -12,10 +13,16 @@ endif
LDFLAGS := $(LIBS) $(shell sdl2-config --libs)
all: $(TARGET)
all: submodule_init $(TARGET)
$(TARGET): $(FILE).cc
$(CXX) -o $(TARGET) $(CCFLAGS) $< $(LDFLAGS)
.PHONY: submodule_init
submodule_init:
@if [ ! -e glcxx ]; then \
git submodule update --init; \
fi
clean:
-rm -f $(TARGET) *~ *.o
Submodule
+1
Submodule glcxx added at e0f6651161.
Submodule
+1
Submodule glm added at 8f39bb8730.