]> git.saurik.com Git - wxWidgets.git/blob - src/makelib.b32
Update Readme.txt
[wxWidgets.git] / src / makelib.b32
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
12 lib: $(LIBTARGET)
13
14 $(LIBTARGET): $(OBJECTS)
15 -if exist $(LIBTARGET) $(RM) $(LIBTARGET)
16 echo making $(LIBTARGET)
17 tlib "$(LIBTARGET)" /P512 @&&!
18 +$(OBJECTS:.obj =.obj +)
19 !
20
21 clean:
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)
27
28 .$(SRCSUFF).obj:
29 bcc32 $(CPPFLAGS) -c -n$(OBJ_PATH) {$< }
30
31 .c.obj:
32 bcc32 $(CPPFLAGS) -P- -c -n$(OBJ_PATH) {$< }