fixed reflections in VR
[laserbrain_demo] / Makefile
index 072abdb..370828e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,7 @@ obj = $(src:.cc=.o) $(csrc:.c=.o)
 dep = $(obj:.o=.d)
 bin = demo
 
-#opt = -O3 -ffast-math
+opt = -O3 -ffast-math
 dbg = -g
 
 incpath = -Isrc -Isrc/machine -I/usr/local/include `pkg-config --cflags sdl2`
@@ -51,6 +51,10 @@ $(bin): .clang_complete $(obj)
 cross:
        $(MAKE) CC=i686-w64-mingw32-gcc CXX=i686-w64-mingw32-g++ sys=mingw
 
+.PHONY: cross-clean
+cross-clean:
+       $(MAKE) CC=i686-w64-mingw32-gcc CXX=i686-w64-mingw32-g++ sys=mingw clean
+
 .PHONY: instalien
 instalien: demo.exe
        cp $< /alien/demo/$<