!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)