Files
wxWidgets/src/makelib.b32
Chris Elliott 2cedc12a6a Borland makefiles now keep output apart
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-26 11:34:39 +00:00

33 lines
728 B
Plaintext

#
# File: makelib.b32
# Author: Julian Smart
# Created: 1999
# Updated:
# Copyright:
#
# Include file for libraries. Set LIBTARGET and OBJECTS
# before including this file.
lib: $(LIBTARGET)
$(LIBTARGET): $(OBJECTS)
-if exist $(LIBTARGET) $(RM) $(LIBTARGET)
echo making $(LIBTARGET)
tlib "$(LIBTARGET)" /P512 @&&!
+$(OBJECTS:.obj =.obj +)
!
clean:
## -if exist $(OBJ_PATH)\*.obj $(RM) $(OBJ_PATH)\*.obj
-if exist *.res $(RM) *.res
-if exist *.map $(RM) *.map
-if exist *.rws $(RM) *.rws
-if exist $(LIBTARGET) $(RM) $(LIBTARGET)
.$(SRCSUFF).obj:
bcc32 $(CPPFLAGS) -c -o$(OBJ_PATH)\$(<B).obj {$< }
.c.obj:
bcc32 $(CPPFLAGS) -P- -c -o$(OBJ_PATH)\$(<B).obj {$< }