home *** CD-ROM | disk | FTP | other *** search
- #*******************************************************************************
- #* SAMPLE PROGRAM 04: MAKE04S *
- #* *
- #* COPYRIGHT: *
- #* ---------- *
- #* Copyright (C) International Business Machines Corp., 1991,1993. *
- #* *
- #* DISCLAIMER OF WARRANTIES: *
- #* ------------------------- *
- #* The following [enclosed] code is sample code created by IBM *
- #* Corporation. This sample code is not part of any standard IBM product *
- #* and is provided to you solely for the purpose of assisting you in the *
- #* development of your applications. The code is provided "AS IS", *
- #* without warranty of any kind. IBM shall not be liable for any damages *
- #* arising out of your use of the sample code, even if they have been *
- #* advised of the possibility of such damages. *
- #* *
- #*******************************************************************************
-
- all: samp04a.lib sample04.exe
-
- # Use IMPLIB to build an import library of functions which will be bound at
- # load-time.
-
- samp04a.lib: samp04a.def
- implib samp04a.lib samp04a.def
-
-
- # Build sample04.exe.
-
- sample04.exe: sample04.obj sample04.def
- link386 /noi /pm:vio sample04,sample04,nul,samp04a,sample04
- COPY SAMP04A.DLL ..\..\..\DLL > NUL:
- COPY SAMP04B.DLL ..\..\..\DLL > NUL:
-
- sample04.obj: sample04.c sample04.h
- icc -c -Gd- sample04.c
-
- clean:
- -Del SAMPLE04.obj SAMPLE04.exe SAMP04A.lib
- -Del ..\..\..\DLL\SAMP04A.dll
- -Del ..\..\..\DLL\SAMP04B.dll