X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=Makefile;h=81821bcfe4979cbcdca9d0af4e9156086a196a1c;hp=eaaa4c0b03c588b24e5e98d41cff0ab5d4018df7;hb=38db2f48a30f697ef8c0b61dfa6345e8a53336fd;hpb=294db46231ea91d70fff258b884fb9c5d8c806bf diff --git a/Makefile b/Makefile index eaaa4c0b..81821bcf 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,28 @@ # This, of course, triggers an out-of-source build. # Binaries are going to be in build/. -default_target: run_cmake +default_target: default + +default: + @echo "To start an out-of-source build, change to the build/ directory" + @echo "and run 'cmake ..' to create standard Makefiles. You can then use" + @echo "'make' from the build/ directory to compile the project." + @echo + @echo "To create KDevelop3 project files instead, run 'cmake .. -GKDevelop3'" + @echo "from the build/ directory." + @echo + @echo "Please refer to the INSTALL file for more options, such as" + @echo "client/server builds." + @echo run_cmake: cd build && cmake .. && make + +build_mono_windows: + cd build && cmake -DBUILD="mono" .. -G "MinGW Makefiles" && mingw32-make + +build_windows: + cd build && cmake -DBUILD="core gui" .. -G "MinGW Makefiles" && mingw32-make + +clean: + rm -rf build/*