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