]> sjero.net Git - wget/blobdiff - windows/Makefile.src.bor
[svn] Added string.c module. Updated copyright information and added names of new...
[wget] / windows / Makefile.src.bor
index 3457a10cfe08e3487f4f06850716de20f8db7010..a9a77a78d7295c09db962b23082340de6a127031 100644 (file)
@@ -1,6 +1,7 @@
 ## Compiler, linker, and lib stuff
 ## Makefile for use with Borland C++ for Win32 executable.
 
+RM=-del
 CC=bcc32
 LINK=ilink32
 
@@ -13,7 +14,7 @@ OBJS=cmpt.obj connect.obj convert.obj ftp.obj ftp-basic.obj  \
       http.obj init.obj log.obj main.obj gnu-md5.obj netrc.obj  \
       safe-ctype.obj hash.obj progress.obj gen-md5.obj cookies.obj \
       recur.obj res.obj retr.obj url.obj utils.obj version.obj xmalloc.obj \
-      mswindows.obj
+      mswindows.obj string.obj
 
 LIBDIR=$(MAKEDIR)\..\lib
 
@@ -21,7 +22,7 @@ wget.exe: $(OBJS)
   $(LINK) @&&|
 $(LFLAGS) -Tpe -ap -c +
 $(LIBDIR)\c0x32.obj+
-cmpt.obj
+cmpt.obj+
 connect.obj+
 convert.obj+
 cookies.obj+
@@ -47,11 +48,12 @@ recur.obj+
 res.obj+
 retr.obj+
 safe-ctype.obj+
+string.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"