home *** CD-ROM | disk | FTP | other *** search
- DEFS= 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)
- del test.lib
- implib test.lib $(DEFS)
-