home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
ool.zip
/
OOL
/
samples
/
sample11
/
Watcom.mak
< prev
Wrap
Text File
|
1997-04-08
|
969b
|
50 lines
#Makefile generated by Object WorkFrame - MakeMake
#(c)opyright Stefan von Brauk, 1996
#target: IBM NMake
#compiler: Watcom C++
#date: 02.02.1997
#actions:
# Compile C/C++
# Link OBJ
# Link DEF
#output: Sample11.exe
#files: sample11.cpp sample11.obj sample11.def
#Object files/libraries to link
OBJS=sample11.obj
LIBS=$(OOL)\lib\OOLW3W03.lib $(OOL)\lib\OOLJ3W03.lib
#Default compiler switches
CC=wpp386
DFLAGS=-bt=os2 -zq -fhq
#Rules how to build the application
!ifdef debug
CFLAGS= -oeinrtxl+ -bm -4r -d2 -w0
LINK=watlink -de -p:pm -map
!else
!ifdef beta
!else
!endif
!endif
#All files to build
all: Sample11.exe
#Rules to build the object-files
.cpp.obj:
$(CC) $(CFLAGS) $(DFLAGS) %s
.c.obj:
$(CC) $(CFLAGS) $(DFLAGS) %s
#Rules to build the application
Sample11.exe: $(OBJS)
$(LINK) Sample11.exe $(OBJS) $(LIBS) sample11.def |wlink
#Dependencies
sample11.obj: sample11.cpp\
sample11.h