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