Make previous check in compile correctly on linux.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@22568 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
John Kessenich
2013-07-31 23:19:17 +00:00
parent 2b07c7e70a
commit ee6a9c8ba8
5 changed files with 10 additions and 8 deletions

View File

@@ -10,14 +10,13 @@ default: all
all: StandAlone
StandAlone: $(TARGETOBJECT) SHAREDOBJECT
$(CC) -g -o $@ $(TARGETOBJECT) -L $(LIBPATH) -lglslang -lpthread \
-lm -lstdc++
$(CC) -g -o $@ $(TARGETOBJECT) -L $(LIBPATH) -lglslang -lpthread -lm -lstdc++
SHAREDOBJECT:
cd $(OBJECTPATH); make all
%.o : %.cpp
$(CC) -g -c $<
$(CC) -g -c -I../glslang/OSDependent/Linux $<
#
# Cleanup
@@ -37,4 +36,4 @@ StandAlone.o: ./../glslang/Public/ShaderLang.h
StandAlone.o: ./../glslang/Include/InfoSink.h ./../glslang/Include/Common.h
StandAlone.o: ./../glslang/Include/PoolAlloc.h
StandAlone.o: ./../glslang/Public/ShaderLang.h
StandAlone.o: Worklist.h