X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/52b51c27916e54664d8246fd9cf2f1a741d6f4e4..4c38c207775492ce1c1d54b695497b1814b928c1:/src/makelib.b32 diff --git a/src/makelib.b32 b/src/makelib.b32 index bcf9c9d994..2804b89c6e 100644 --- a/src/makelib.b32 +++ b/src/makelib.b32 @@ -8,26 +8,25 @@ # Include file for libraries. Set LIBTARGET and OBJECTS # before including this file. -# WXWIN and BCCDIR are set by parent make - -WXDIR = $(WXWIN) - -!include $(WXDIR)\src\makeb32.env lib: $(LIBTARGET) -$(LIBTARGET): $(OBJECTS) - -$(RM) $(LIBTARGET) +$(LIBTARGET): $(OBJECTS) + -if exist $(LIBTARGET) $(RM) $(LIBTARGET) + echo making $(LIBTARGET) tlib "$(LIBTARGET)" /P512 @&&! +$(OBJECTS:.obj =.obj +) ! clean: - -$(RM) *.obj - -$(RM) *.exe - -$(RM) *.res - -$(RM) *.map - -$(RM) *.rws - -$(RM) $(LIBTARGET) +## -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)\$(