1999-02-09 11:00:23 -05:00
|
|
|
#
|
|
|
|
# File: makelib.b32
|
|
|
|
# Author: Julian Smart
|
|
|
|
# Created: 1999
|
|
|
|
# Updated:
|
|
|
|
# Copyright:
|
|
|
|
#
|
|
|
|
# Include file for libraries. Set LIBTARGET and OBJECTS
|
|
|
|
# before including this file.
|
|
|
|
|
|
|
|
|
1999-04-03 12:46:18 -05:00
|
|
|
lib: $(LIBTARGET)
|
|
|
|
|
2003-05-26 07:34:39 -04:00
|
|
|
$(LIBTARGET): $(OBJECTS)
|
|
|
|
-if exist $(LIBTARGET) $(RM) $(LIBTARGET)
|
|
|
|
echo making $(LIBTARGET)
|
2000-11-12 14:55:10 -05:00
|
|
|
tlib "$(LIBTARGET)" /P512 @&&!
|
1999-04-03 12:46:18 -05:00
|
|
|
+$(OBJECTS:.obj =.obj +)
|
1999-02-09 11:00:23 -05:00
|
|
|
!
|
|
|
|
|
|
|
|
clean:
|
2003-05-26 07:34:39 -04:00
|
|
|
## -if exist $(OBJ_PATH)\*.obj $(RM) $(OBJ_PATH)\*.obj
|
|
|
|
-if exist *.res $(RM) *.res
|
|
|
|
-if exist *.map $(RM) *.map
|
|
|
|
-if exist *.rws $(RM) *.rws
|
|
|
|
-if exist $(LIBTARGET) $(RM) $(LIBTARGET)
|
1999-02-09 11:00:23 -05:00
|
|
|
|
2003-05-26 07:34:39 -04:00
|
|
|
.$(SRCSUFF).obj:
|
2003-06-12 11:23:25 -04:00
|
|
|
bcc32 $(CPPFLAGS) -c -n$(OBJ_PATH) {$< }
|
1999-02-09 11:00:23 -05:00
|
|
|
|
2003-05-26 07:34:39 -04:00
|
|
|
.c.obj:
|
2003-06-12 11:23:25 -04:00
|
|
|
bcc32 $(CPPFLAGS) -P- -c -n$(OBJ_PATH) {$< }
|