home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
viscobv6.zip
/
vac22os2
/
ibmcobol
/
samples
/
toolkit
/
tcpiptk
/
echosamp
/
echoclnt
/
metaware.mak
< prev
next >
Wrap
Text File
|
1996-11-19
|
3KB
|
70 lines
#********************************************************copyrite.xic******/
# /
# Licensed Materials - Property of IBM /
# IBM TCP/IP for OS/2 /
# (C) Copyright IBM Corporation. 1996. /
# /
# All rights reserved. /
# /
# US Government Users Restricted Rights - /
# Use, duplication or disclosure restricted by GSA ADP Schedule /
# Contract with IBM Corp. /
# /
#--------------------------------------------------------------------------/
# /
# DISCLAIMER OF WARRANTIES. The following [enclosed] code is /
# sample code created by IBM Corporation. This sample code is not /
# part of any standard or 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. /
#--------------------------------------------------------------------------/
# Compiler options:
#
# -g : Generate debugger information
# -W2 : Produce severe errors, errors and warnings
# -c : Compile only
# -D : define Macro
# -Idir : Specify a directory (dir) to search for include files
#
#
# Linker options:
#
# /De : Prepare for Debugging
# /NOI : Preserve the case sensitivity
#
#
# To clean up the directory and go back to just the original files
# issue: nmake -f metaware.mak clean
HCOSLIB = D:\HCOS2\LIB
LIBLIST = so32dll.lib tcp32dll.lib $(HCOSLIB)\os2386.lib $(HCOSLIB)\hct.lib
# Define the Compiler program to use
CC = hc -g -w2 -DOS2 -c -Ic:\toolkit\h
# Define the Linker program to use
LINK =link386
#===========================================================================
ALL : echoclnt.exe echoc1st.exe
echoclnt.obj : echoclnt.c vacpp.mak
$(CC) echoclnt.c
echoclnt.exe: echoclnt.obj
$(LINK) /De echoclnt $(HCOSLIB)\startup.obj,echoclnt.exe,NUL,$(LIBLIST),echo.def;
echoc1st.obj : echoc1st.c vacpp.mak
$(CC) echoc1st.c
echoc1st.exe: echoc1st.obj
$(LINK) /De echoc1st $(HCOSLIB)\startup.obj,echoc1st.exe,NUL,$(LIBLIST),echo.def;
clean:
-del *.obj
-del *.exe