]> git.saurik.com Git - wxWidgets.git/blobdiff - src/makelib.b32
don't use -q option with egrep, Solaris doesn't have it (bug 517145)
[wxWidgets.git] / src / makelib.b32
index cf2732bfd3c91729bad48a2949ec01f1effb1f1f..bcf9c9d994ec89b356e7a337a5f7f35373f4565f 100644 (file)
@@ -14,24 +14,20 @@ WXDIR = $(WXWIN)
 
 !include $(WXDIR)\src\makeb32.env
 
+lib: $(LIBTARGET)
+   
 $(LIBTARGET): $(OBJECTS)
-        erase $(LIBTARGET)
-       tlib $(LIBTARGET) /P512 @&&!
--+$(OBJECTS:.obj =.obj -+)
+   -$(RM) $(LIBTARGET)
+   tlib "$(LIBTARGET)" /P512 @&&!
++$(OBJECTS:.obj =.obj +)
 !
 
-.$(SRCSUFF).obj:
-       bcc32 $(CPPFLAGS) -c {$< }
-
-.c.obj:
-       bcc32 $(CPPFLAGS) -P- -c {$< }
-
 clean:
-        -erase *.obj
-        -erase *.exe
-        -erase *.res
-        -erase *.map
-        -erase *.rws
-        -erase $(LIBTARGET)
+        -$(RM) *.obj
+        -$(RM) *.exe
+        -$(RM) *.res
+        -$(RM) *.map
+        -$(RM) *.rws
+        -$(RM) $(LIBTARGET)