home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIS Development Option 6.2
/
IRIS_Development_Option_6.2_814-0478-001.iso
/
dist
/
dev.idb
/
usr
/
include
/
make
/
makelib.mk.z
/
makelib.mk
Wrap
Text File
|
1996-03-14
|
470b
|
30 lines
#
# Pmake rules for making libraries. The object files which make up
# the library are removed once they are archived.
#
#
# To use, do something like this:
#
# OBJECTS = <files in the library>
#
# fish.a: fish.a($(OBJECTS)) MAKELIB
#
#
# $Revision: 1.3 $
#ifndef _MAKELIB_MK
_MAKELIB_MK =
#include <po.mk>
ARFLAGS ?= cr
#
# Re-archive the out-of-date members.
#
MAKELIB : .USE .PRECIOUS
$(AR) $(ARFLAGS) $(.TARGET) $(.OODATE)
rm $(.OODATE)
#endif _MAKELIB_MK