Changed the windows build method.
authorMarco Genise <kaffeedoktor@quassel-irc.org>
Wed, 18 Oct 2006 17:18:20 +0000 (17:18 +0000)
committerMarco Genise <kaffeedoktor@quassel-irc.org>
Wed, 18 Oct 2006 17:18:20 +0000 (17:18 +0000)
Makefile
win_build.bat [deleted file]

index 3de1c2c..694bd06 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -19,8 +19,8 @@ default:
 run_cmake:
        cd build && cmake .. && make
 
 run_cmake:
        cd build && cmake .. && make
 
-# I need the prepare/restore at my system, because I have to alter the $PATH
-# temporarily. Because it's very system dependent, I didn't include the files.
-# -- kaffeedoktor
 build_windows:
 build_windows:
-       win_build.bat
+       cd build && cmake .. -G "MinGW Makefiles" && mingw32-make
+
+clean:
+       rm -rf build/*
diff --git a/win_build.bat b/win_build.bat
deleted file mode 100644 (file)
index 0d0ebdf..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-@echo off\r
-\r
-rem This is needed to run cmake properly on my system.\r
-rem There are some programs in my $PATH, that inhibit cmake from working correctly.\r
-rem -- kaffeedoktor\r
-\r
-if exist win_prepare.bat CALL win_prepare.bat\r
-\r
-rem Build the whole project\r
-cd build\r
-cmake .. -G "MinGW Makefiles"\r
-mingw32-make\r
-cd ..\r
-       \r
-if exist win_restore.bat CALL win_restore.bat\r