| 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\makebcc.env |
| 16 | |
| 17 | $(LIBTARGET): $(OBJECTS) |
| 18 | erase $(LIBTARGET) |
| 19 | tlib $(LIBTARGET) /P1024 @&&! |
| 20 | -+$(OBJECTS:.obj =.obj -+) |
| 21 | ! |
| 22 | |
| 23 | .$(SRCSUFF).obj: |
| 24 | bcc $(CPPFLAGS) -c {$< } |
| 25 | |
| 26 | .c.obj: |
| 27 | bcc $(CPPFLAGS) -P- -c {$< } |
| 28 | |
| 29 | clean: |
| 30 | -erase *.obj |
| 31 | -erase *.exe |
| 32 | -erase *.res |
| 33 | -erase *.map |
| 34 | -erase *.rws |
| 35 | -erase $(LIBTARGET) |
| 36 | |
| 37 | |