home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
ICLUI.ZIP
/
VPORT
/
AVPORT.MAK
< prev
next >
Wrap
Text File
|
1993-03-09
|
881b
|
40 lines
# Canvas Classes Example 4 - ViewPort
#
# COPYRIGHT: Copyright (C) International Business Machines Corp., 1992,1993.
#
# Define variables for makefile
#
GCPPC=icc
GLINK=icc
GCPPFLAGS=-Fd -c
GLFLAGS=/Tdp /B"/PM:PM /ST:0xA000"
ICLUILIBS=ibase.lib ibasectl.lib ibaseapp.lib iclcc.lib
program=avport
exename=vport
all: $(program)
#
# add resources to exe
#
$(program): $(exename).exe $(program).res
rc $(program).res $(exename).exe
#
# link exe
#
$(exename).exe: $(program).obj
$(GLINK) $(GLFLAGS) $(program).obj \
/Fe$*.exe \
$(ICLUILIBS)
#
# build the obj file
#
$(program).obj: $*.cpp $*.hpp $*.h
$(GCPPC) $(GCPPFLAGS) $*.cpp
#
# build the .res file
#
$(program).res: $*.h $*.rc
rc -r $*.rc