]> git.saurik.com Git - wxWidgets.git/blame - src/makelib.b32
Fixes and source cleaning for WinCE.
[wxWidgets.git] / src / makelib.b32
CommitLineData
dbda9e86
JS
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
dbda9e86 11
7d5818e0
BM
12lib: $(LIBTARGET)
13
2cedc12a
CE
14$(LIBTARGET): $(OBJECTS)
15 -if exist $(LIBTARGET) $(RM) $(LIBTARGET)
16 echo making $(LIBTARGET)
20a2bdc9 17 tlib "$(LIBTARGET)" /P512 @&&!
7d5818e0 18+$(OBJECTS:.obj =.obj +)
dbda9e86
JS
19!
20
dbda9e86 21clean:
2cedc12a
CE
22## -if exist $(OBJ_PATH)\*.obj $(RM) $(OBJ_PATH)\*.obj
23 -if exist *.res $(RM) *.res
24 -if exist *.map $(RM) *.map
25 -if exist *.rws $(RM) *.rws
26 -if exist $(LIBTARGET) $(RM) $(LIBTARGET)
dbda9e86 27
2cedc12a 28.$(SRCSUFF).obj:
cc693a82 29 bcc32 $(CPPFLAGS) -c -n$(OBJ_PATH) {$< }
dbda9e86 30
2cedc12a 31.c.obj:
cc693a82 32 bcc32 $(CPPFLAGS) -P- -c -n$(OBJ_PATH) {$< }