home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
ool.zip
/
OOL
/
samples
/
sample5
/
va.mak
< prev
next >
Wrap
Makefile
|
1997-02-08
|
1KB
|
55 lines
#Makefile generated by Object WorkFrame - MakeMake
#(c)opyright Stefan von Brauk, 1996
#target: IBM NMake
#compiler: IBM ICC
#date: 21.12.1996
#actions:
# Compile C/C++
# Link OBJ
# Link DEF
#output: sample5.exe
#files: sample5.cpp sample5.obj sample5.DEF sample5.rc
#Object files/libraries to link
OBJS=sample5.obj
LIBS=OOLW3I03.LIB OOLC3I03.LIB OS2386.LIB
#Default compiler switches
CC=icc.exe
DFLAGS= /C /Q
#Rules how to build the application
CFLAGS= /Ge+ /O+ /Fb- /Gm+ /Gd+ /Gn+ /G5 /W3
LINK=icc.exe $(CFLAGS) /B""
#All files to build
all: sample5.exe sample5.dll
#Rules to build the object-files
.cpp.obj:
$(CC) $(CFLAGS) $(DFLAGS) %s
.c.obj:
$(CC) $(CFLAGS) $(DFLAGS) %s
#Rules to build the application
sample5.exe: $(OBJS)
$(LINK) /Fe"sample5.exe" $(OBJS) $(LIBS) sample5.def
#Rules to build the DLL
sample5.dll: sample5.res empty.obj
$(LINK) /Fe"sample5.dll" empty.obj dll.def
rc sample5.res sample5.dll
#Rules to build the resource-files
sample5.res: sample5.rc
rc -r sample5.rc
#Dependencies of the related files
sample5.obj: sample5.cpp\
sample5.h
empty.obj: empty.c