]> sjero.net Git - wget/blobdiff - windows/Makefile.src.bor
[svn] Enable merging of duplicate strings. Turn off printing of
[wget] / windows / Makefile.src.bor
index 3457a10cfe08e3487f4f06850716de20f8db7010..fc94660045c02ff5b21876b3912e9653eb01dfb0 100644 (file)
@@ -1,11 +1,13 @@
 ## Compiler, linker, and lib stuff
 ## Makefile for use with Borland C++ for Win32 executable.
 
+RM=-del
 CC=bcc32
 LINK=ilink32
 
 LFLAGS=
-CFLAGS=-DWINDOWS -DHAVE_CONFIG_H -I. -w- -O2
+WARN=-w-8057 -w-8027 -w-8066 -w-8008 -w-8065
+CFLAGS=-DWINDOWS -DHAVE_CONFIG_H -I. -O2 -6 -d -q $(WARN)
 
 ## variables
 OBJS=cmpt.obj connect.obj convert.obj ftp.obj ftp-basic.obj  \
@@ -21,7 +23,7 @@ wget.exe: $(OBJS)
   $(LINK) @&&|
 $(LFLAGS) -Tpe -ap -c +
 $(LIBDIR)\c0x32.obj+
-cmpt.obj
+cmpt.obj+
 connect.obj+
 convert.obj+
 cookies.obj+
@@ -50,8 +52,8 @@ safe-ctype.obj+
 url.obj+
 utils.obj+
 version.obj+
-xmalloc.obj+
-$<,$*
+xmalloc.obj,+
+$<,$*,+
 $(LIBDIR)\import32.lib+
 $(LIBDIR)\cw32.lib
 
@@ -59,6 +61,18 @@ $(LIBDIR)\cw32.lib
 
 |
 
+
+#
+# Dependencies for cleanup
+#
+
+clean:
+       $(RM) *.bak
+       $(RM) *.obj
+       $(RM) *.exe
+       $(RM) *.map
+       $(RM) *.tds
+
 o = .obj
 
 !include "..\windows\wget.dep"