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