Fixed a bug where a case-sensitive comparison with ownNick prevented connection to...
[quassel.git] / Makefile
1 # This Makefile simply runs cmake from the build directory.
2 # This, of course, triggers an out-of-source build.
3 # Binaries are going to be in build/.
4
5 default_target: default
6
7 default:
8         @echo "To start an out-of-source build, change to the build/ directory"
9         @echo "and run 'cmake ..' to create standard Makefiles. You can then use"
10         @echo "'make' from the build/ directory to compile the project."
11         @echo
12         @echo "To create KDevelop3 project files instead, run 'cmake .. -GKDevelop3'"
13         @echo "from the build/ directory."
14         @echo
15         @echo "Please refer to the INSTALL file for more options, such as"
16         @echo "client/server builds."
17         @echo
18
19 run_cmake:
20         cd build && cmake .. && make
21
22 build_mono_windows:
23         cd build && cmake -DBUILD="mono" .. -G "MinGW Makefiles" && mingw32-make
24         
25 build_windows:
26         cd build && cmake -DBUILD="core gui" .. -G "MinGW Makefiles" && mingw32-make
27
28 clean:
29         rm -rf build/*