aboutsummaryrefslogtreecommitdiff
path: root/src/win32.mak
diff options
context:
space:
mode:
Diffstat (limited to 'src/win32.mak')
-rw-r--r--src/win32.mak16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/win32.mak b/src/win32.mak
index a7264acf543..86d9ee8216e 100644
--- a/src/win32.mak
+++ b/src/win32.mak
@@ -15,9 +15,25 @@ MAKEMACRO = "MULTIBYTE=$(MULTIBYTE)"
!ENDIF
ALL:
+ cd include
+ if not exist config.h copy config.h.win32 config.h
+ cd ..
cd interfaces\libpq
nmake /f win32.mak $(MAKEMACRO)
cd ..\..\bin\psql
nmake /f win32.mak $(MAKEMACRO)
cd ..\..
echo All Win32 parts have been built!
+
+CLEAN:
+ cd interfaces\libpq
+ nmake /f win32.mak CLEAN
+ cd ..\..\bin\psql
+ nmake /f win32.mak CLEAN
+ cd ..\..
+ echo All Win32 parts have been cleaned!
+
+DISTCLEAN: CLEAN
+ cd include
+ del config.h
+ cd .. \ No newline at end of file