home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Mother of All Windows Books
/
CD-MOM.iso
/
cd_mom
/
newsletr
/
winprogj
/
wpjv1n2
/
lib.mak
< prev
next >
Wrap
Text File
|
1993-01-28
|
792b
|
23 lines
DEFS=lib2.def
DEFS2= testlib.def
# Notice that I placed these two DEF files under seperate macros. They could
# have been placed on the same macro line, but I wanted to demonstrate how
# you can create an import library from multiple definition files. The
# resulting library 'test.lib' can be linked into your DLLs.
#
# The 'implib' statement in the build commands creates an import library
# out of the exports listed in the definition file.
#
# The 'lib' statement combines the import libraries into one library. LIB
# allows you to manage libraries, see Microsoft documentation for more
# information.
test.lib: $(DEFS) $(DEFS2)
del test.lib
implib test1.lib $(DEFS)
implib test2.lib $(DEFS2)
lib test.lib test1.lib+test2.lib;
del test1.lib
del test2.lib