blob: 80023b1d786fbed99e41c6fa627d78c5e60ffb52 [file] [log] [blame]
CC=g++
OBJECTPATH=./../glslang/MachineIndependent
LIBPATH=./../glslang/MachineIndependent/lib
SRCS=StandAlone.cpp
TARGETOBJECT=StandAlone.o
default: all
all: StandAlone
StandAlone: $(TARGETOBJECT) SHAREDOBJECT
$(CC) -g -o $@ $(TARGETOBJECT) -L $(LIBPATH) -lglslang -lpthread \
-lm -lstdc++
SHAREDOBJECT:
cd $(OBJECTPATH); make all
%.o : %.cpp
$(CC) -c $<
#
# Cleanup
#
.PHONY : clean
clean :
$(RM) *.o StandAlone
cd $(OBJECTPATH); make clean
depend:
cd $(OBJECTPATH); make depend
makedepend -Y -- $(SRCS)
# DO NOT DELETE
StandAlone.o: ./../glslang/Include/ShHandle.h
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