home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
ool.zip
/
OOL
/
samples
/
sample13
/
emx.MAK
next >
Wrap
Makefile
|
1997-04-03
|
675b
|
27 lines
#Object files/libraries to link
OBJS=sample13.obj
LIBS=$(OOL)\LIB\OOLW3E03.LIB $(OOL)\LIB\OOLM3E03.LIB c:\emx\lib\mm2emx.lib c:\emx\lib\oolimp.lib
#Default compiler switches
CC=gcc.exe
DFLAGS=-Zomf -c -fhandle-exceptions
#Rules how to build the application
CFLAGS= -Zmt -Zcrtdll -Zomf
LINK=gcc.exe -Zomf -Zcrtdll -Zlinker /PACKD -Zlinker /PACKC -o
#All files to build
all: sample13.exe
#Rules to build the object-files
%.obj: %.cpp
$(CC) $(CFLAGS) $(DFLAGS) $<
#Rules to build the application
sample13.exe: $(OBJS)
$(LINK) sample13.exe $(OBJS) $(LIBS) sample13.def
#Dependencies of the related files
sample13.obj: sample13.cpp\
sample13.h