home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
VSCPPv8.zip
/
VACPP
/
IBMCPP
/
samples
/
TOOLKIT
/
OS2
/
EAEDIT
/
EAS.MAK
< prev
next >
Wrap
Makefile
|
1994-11-17
|
3KB
|
80 lines
#===================================================================
#
# EAS.MAK - EAS Application Make file
#
# Copyright (C) 1992, 1994 IBM Corporation
#
# 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.
#
#===================================================================
#-------------------------------------------------------------------
# IBMSAMP.INC - sets up for IBM Compiler
#-------------------------------------------------------------------
include ..\..\ibmsamp.inc
HEADERS = eas.h
#===================================================================
#
# A list of all of the object files
#
#===================================================================
ALL_OBJS = eas.obj easea.obj easfile.obj easinit.obj eashelp.obj
ALL_IPF = eas.ipf
#-------------------------------------------------------------------
# This section lists all files to be built by the make. The
# makefile builds the executible as well as its associated help
# file.
#-------------------------------------------------------------------
all: eas.exe eas.hlp
#-------------------------------------------------------------------
# This section creates the command file used by the linker. This
# command file is recreated automatically every time you change
# the object file list, linker flags, or library list.
#-------------------------------------------------------------------
eas.lnk: eas.mak
echo $(ALL_OBJS) > eas.lnk
echo eas.exe >> eas.lnk
echo eas.map >> eas.lnk
echo $(MTLIBS) >> eas.lnk
echo eas.def >> eas.lnk
#-------------------------------------------------------------------
# Dependencies
# This section lists all object files needed to be built for the
# application, along with the files it is dependent upon (e.g.
# its source and any header files).
#-------------------------------------------------------------------
eas.res: eas.rc $(HEADERS) eas.ico eas.dlg
copy ..\..\prodinfo.bmp
rc -r eas.rc
del prodinfo.bmp
eas.hlp: $(ALL_IPF)
eas.obj: eas.c $(HEADERS)
easea.obj: easea.c $(HEADERS)
easfile.obj: easfile.c $(HEADERS)
easinit.obj: easinit.c $(HEADERS)
eashelp.obj: eashelp.c $(HEADERS)
eas.exe: $(ALL_OBJS) eas.res eas.def eas.lnk
$(LINK) @eas.lnk
rc -p -x eas.res eas.exe