bgfx/3rdparty/glsl-optimizer/contrib/glslopt/Makefile
2012-10-07 20:41:18 -07:00

16 lines
291 B
Makefile

# Linux build for the sample app
OBJS = Main.o
.PHONY: clean all
LDFLAGS += -Wl,-O1 -Wl,-gc-sections
CPPFLAGS += -I ../../src/glsl -L ../../src/glsl
CXXFLAGS += -Wall -Os -s
all: $(OBJS)
g++ -o glslopt Main.o $(CPPFLAGS) -lglslopt $(CXXFLAGS) $(LDFLAGS)
clean:
rm -f glslopt $(OBJS)