home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
ool.zip
/
OOL
/
samples
/
sample12
/
watcom.mak
< prev
Wrap
Makefile
|
1997-02-11
|
949b
|
50 lines
#Makefile generated by Object WorkFrame - MakeMake
#(c)opyright Stefan von Brauk, 1996
#target: IBM NMake
#compiler: Watcom C/C++
#date: 11.02.1997
#actions:
# Compile C/C++
# Link OBJ
#output: sample12.exe
#files: sample12.cpp sample12.obj
#Object files/libraries to link
OBJS=sample12.obj
LIBS=$(OOL)\LIB\OOLW3W03.LIB
#Default compiler switches
CC=wcl386
DFLAGS=-bt=os2 -zq -fhq -c
#Rules how to build the application
!ifdef debug
CFLAGS= -oeinrtxl+ -bm -4r -w0
LINK=watlink -p:vio
!else
!ifdef beta
!else
!endif
!endif
#All files to build
all: sample12.exe
#Rules to build the object-files
.cpp.obj:
$(CC) $(CFLAGS) $(DFLAGS) %s
.c.obj:
$(CC) $(CFLAGS) $(DFLAGS) %s
#Rules to build the application
sample12.exe: $(OBJS)
$(LINK) sample12.exe $(OBJS) $(LIBS) |wlink
#Dependencies
sample12.obj: sample12.cpp\
D:\Development\OOL\Include\xheaders.h\
D:\WATCOM\H\stdio.h