summaryrefslogtreecommitdiff
path: root/win
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-22 17:37:29 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-22 17:37:29 +0000
commit6f95fb3897e613bb2edcdfca745e20ed20e6854a (patch)
tree3ac28e037fcca5c1011858bbb5df72151b2048b1 /win
parent4cd573260d9af9f9af7a66caef82f2eb48e5a20d (diff)
Update this to always run even if we have an inspircd_config.h, having to manually fart around deleting files to make clean is a pain in the ass.
Also why does it seem to be making a seperate named file for release builds and never actually calling it during a release build, leading to debug modules being loaded into a non-debug insp :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7107 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'win')
-rw-r--r--win/configure.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/win/configure.cpp b/win/configure.cpp
index 890872fdd..8d0643e38 100644
--- a/win/configure.cpp
+++ b/win/configure.cpp
@@ -128,14 +128,6 @@ bad_rev:
int __stdcall WinMain(IN HINSTANCE hInstance, IN HINSTANCE hPrevInstance, IN LPSTR lpCmdLine, IN int nShowCmd )
{
- // Skip if configure is already-existant.
- FILE * f = fopen("inspircd_config.h", "r");
- if(f)
- {
- fclose(f);
- return 0;
- }
-
AllocConsole();
// pipe standard handles to this console
@@ -368,11 +360,7 @@ void WriteCompileCommands()
// Write our spiffy new makefile :D
// I am such a lazy fucker :P
-#ifdef _DEBUG
FILE * f = fopen("..\\src\\commands.mak", "w");
-#else
- FILE * f = fopen("..\\src\\commands-release.mak", "w");
-#endif
time_t t = time(NULL);
fprintf(f, "# Generated at %s\n", ctime(&t));
@@ -424,11 +412,7 @@ void WriteCompileModules()
// Write our spiffy new makefile :D
// I am such a lazy fucker :P
-#ifdef _DEBUG
FILE * f = fopen("..\\src\\modules\\modules.mak", "w");
-#else
- FILE * f = fopen("..\\src\\modules\\modules-release.mak", "w");
-#endif
time_t t = time(NULL);
fprintf(f, "# Generated at %s\n", ctime(&t));