projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Made all bitmaps 16x16
[wxWidgets.git]
/
src
/
makelib.b32
diff --git
a/src/makelib.b32
b/src/makelib.b32
index 75b13ead1b2fea67802c5e333c2a855c0d47de10..1ebba24158e82d9f9ef7ab14fc80f0e3a422179b 100644
(file)
--- a/
src/makelib.b32
+++ b/
src/makelib.b32
@@
-8,26
+8,25
@@
# Include file for libraries. Set LIBTARGET and OBJECTS
# before including this file.
# 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)
lib: $(LIBTARGET)
-$(LIBTARGET): $(OBJECTS)
- -erase $(LIBTARGET)
- tlib $(LIBTARGET) /P512 @&&!
+$(LIBTARGET): $(OBJECTS)
+ -if exist $(LIBTARGET) $(RM) $(LIBTARGET)
+ echo making $(LIBTARGET)
+ tlib "$(LIBTARGET)" /P512 @&&!
+$(OBJECTS:.obj =.obj +)
!
clean:
+$(OBJECTS:.obj =.obj +)
!
clean:
- -erase *.obj
- -erase *.exe
- -erase *.res
- -erase *.map
- -erase *.rws
- -erase $(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 -n$(OBJ_PATH) {$< }
+.c.obj:
+ bcc32 $(CPPFLAGS) -P- -c -n$(OBJ_PATH) {$< }