#! /bin/bash
-rm StandAlone/StandAlone
+rm -f StandAlone/StandAlone
# build the StandAlone app and all it's dependencies
make -C StandAlone
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
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