]> git.saurik.com Git - wxWidgets.git/blame_incremental - src/makelib.b32
The mmedia contrib requires sys/soundcard.h on unix, so disable it on unix
[wxWidgets.git] / src / makelib.b32
... / ...
CommitLineData
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
12lib: $(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
21clean:
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) {$< }