| 1 | # |
| 2 | # File: makelib.b32 |
| 3 | # Author: Julian Smart |
| 4 | # Created: 1999 |
| 5 | # Updated: |
| 6 | # Copyright: |
| 7 | # |
| 8 | # Include file for libraries. Set LIBTARGET and OBJECTS |
| 9 | # before including this file. |
| 10 | |
| 11 | # WXWIN and BCCDIR are set by parent make |
| 12 | |
| 13 | WXDIR = $(WXWIN) |
| 14 | |
| 15 | !include $(WXDIR)\src\makeb32.env |
| 16 | |
| 17 | lib: $(LIBTARGET) |
| 18 | |
| 19 | $(LIBTARGET): $(OBJECTS) |
| 20 | -erase $(LIBTARGET) |
| 21 | tlib $(LIBTARGET) /P512 @&&! |
| 22 | +$(OBJECTS:.obj =.obj +) |
| 23 | ! |
| 24 | |
| 25 | clean: |
| 26 | -erase *.obj |
| 27 | -erase *.exe |
| 28 | -erase *.res |
| 29 | -erase *.map |
| 30 | -erase *.rws |
| 31 | -erase $(LIBTARGET) |
| 32 | |
| 33 | |