X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=laserbrain_demo;a=blobdiff_plain;f=Makefile;h=370828e214f1a56542b5dbbe77c69a41d70f5539;hp=072abdb0adce15021639efc782d545bfb0a92801;hb=2829b50d6b3d9e97fc9399f5b6929f7d64021366;hpb=197bafc7f54795243d4c217c2efcf41f01d4100d diff --git a/Makefile b/Makefile index 072abdb..370828e 100644 --- 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/$<