projects
/
laserbrain_demo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
continuing the avatar class
[laserbrain_demo]
/
Makefile
diff --git
a/Makefile
b/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
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`
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
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/$<
.PHONY: instalien
instalien: demo.exe
cp $< /alien/demo/$<