home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
ool.zip
/
OOL
/
samples
/
sample1
/
va.mak
< prev
next >
Wrap
Makefile
|
1997-04-02
|
1KB
|
62 lines
#Makefile generated by Object WorkFrame - MakeMake
#(c)opyright Stefan von Brauk, 1996
#target: IBM NMake
#compiler: IBM ICC
#date: 28.02.1997
#actions:
# Compile C/C++
# Compile RC
# Link OBJ
# Link DEF
# Link RES
#output: sample1.exe
#files: sample1.cpp sample1.rc sample1.obj sample1.RES sample1.DEF
#Object files/libraries to link
OBJS=sample1.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+ /G5 /Ti /W3
LINK=icc.exe $(CFLAGS) /B" /De /e:2 /NOE"
!else
!ifdef beta
CFLAGS= /Ge+ /O+ /Fb- /Gm+ /G5 /W3
LINK=icc.exe $(CFLAGS) /B" /e:2"
!else
CFLAGS= /Ge+ /O+ /Fb- /Gm+ /Gd+ /G5 /W3
LINK=icc.exe $(CFLAGS) /B""
!endif
!endif
#All files to build
all: sample1.exe
#Rules to build the object-files
.cpp.obj:
$(CC) $(CFLAGS) $(DFLAGS) %s
.c.obj:
$(CC) $(CFLAGS) $(DFLAGS) %s
#Rules to build the application
sample1.exe: $(OBJS) sample1.res
$(LINK) /Fe"sample1.exe" $(OBJS) $(LIBS) sample1.def
rc sample1.res sample1.exe
#Rules to build the resource-files
sample1.res: sample1.rc\
resource.h\
sample1.dlg\
sample1.ico
rc -r sample1.rc
#Dependencies
sample1.obj: sample1.cpp\
sample1.h