home *** CD-ROM | disk | FTP | other *** search
- #*******************************************************************************
- #* SAMPLE PROJECT: MAKE03D *
- #* *
- #* 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. *
- #* *
- #*******************************************************************************
-
- # IBM Developer's Workframe/2 Make File Creation
-
- # Make File Creation run in directory:
- # E:\IBMCPP\SAMPLES\SAMPLE03;
-
- .SUFFIXES: .c .dll .exe
-
- CCFLAGS= /O /C /Gd
- LKFLAGS= /A:16 /NOI /NOL /NOE
-
- INITTERM.OBJ: INITTERM.C
- ICC.EXE $(CCFLAGS) /Ge- .\initterm.c
-
- SAMPLE03.OBJ: SAMPLE03.C SAMPLE03.H
- ICC.EXE $(CCFLAGS) /Ge- .\sample03.c
-
- MAIN03.OBJ: MAIN03.C SAMPLE03.H
- ICC.EXE $(CCFLAGS) .\main03.c
-
- ALL: sample03.dll main03.exe
-
- sample03.dll: \
- INITTERM.OBJ \
- SAMPLE03.OBJ \
- sample03.def \
- MAKE03D
- @REM @<<SAMPLE03.@0
- $(LKFLAGS) +
- INITTERM.OBJ +
- SAMPLE03.OBJ
- sample03.dll
-
-
- sample03.def;
- <<
- LINK386.EXE @SAMPLE03.@0
- COPY SAMPLE03.DLL ..\..\..\DLL > NUL:
-
- MAIN03.EXE: \
- MAIN03.OBJ \
- main03.def \
- MAKE03D
- @REM @<<MAIN03.@0
- /A:16 /NOI /BAS:65536 /NOL +
- MAIN03.OBJ
- MAIN03.EXE
-
-
- main03.def;
- <<
- LINK386.EXE @MAIN03.@0
-
- clean :
- -Del INITTERM.obj SAMPLE03.obj MAIN03.obj
- -Del SAMPLE03.dll MAIN03.exe
- -Del ..\..\..\DLL\SAMPLE03.dll