diff --git a/src/bin/psql/bcc32.mak b/src/bin/psql/bcc32.mak
index 7df1f664e8f4d4fe3e0c1a1854c8d36b4612be03..fa0c9ef1f1d81ce50f99ab3ccfb8531517986891 100644
--- a/src/bin/psql/bcc32.mak
+++ b/src/bin/psql/bcc32.mak
@@ -70,6 +70,7 @@ CLEAN :
 	-@erase "$(INTDIR)\print.obj"
 	-@erase "$(INTDIR)\describe.obj"
 	-@erase "$(INTDIR)\tab-complete.obj"
+	-@erase "$(INTDIR)\sprompt.obj"
 	-@erase "$(INTDIR)\getopt.obj"
 	-@erase "$(INTDIR)\getopt_long.obj"
 	-@erase "$(INTDIR)\path.obj"
@@ -123,9 +124,10 @@ LINK32_OBJS= \
 	print.obj \
 	describe.obj \
 	tab-complete.obj \
+	sprompt.obj \
 	getopt.obj \
-      getopt_long.obj \
-      path.obj \
+	getopt_long.obj \
+	path.obj \
 	mbprint.obj
 	
 
@@ -137,6 +139,7 @@ LINK32_OBJS= \
 	import32.lib $(LIBRARIES),,
 !
 
+sprompt.obj : "$(OUTDIR)" ..\..\port\sprompt.c
 getopt.obj : "$(OUTDIR)" ..\..\port\getopt.c
 getopt_long.obj : "$(OUTDIR)" ..\..\port\getopt_long.c
 path.obj : "$(OUTDIR)" ..\..\port\path.c