mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-25 09:08:22 -05:00
17 lines
291 B
Makefile
17 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)
|
||
|
|