home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
ool.zip
/
OOL
/
samples
/
sample12
/
emx.mak
next >
Wrap
Makefile
|
1997-02-08
|
833b
|
38 lines
#Makefile generated by Object WorkFrame - MakeMake
#(c)opyright Stefan von Brauk, 1996
#target: GNU Make
#compiler: EMX/GCC
#date: 17.01.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\OOLW3E03.LIB
#Default compiler switches
CC=gcc.exe
DFLAGS=-Zomf -c -fhandle-exceptions
#Rules how to build the application
CFLAGS= -Zmt -Zcrtdll
LINK=gcc.exe -Zomf -Zcrtdll -Zlinker /PACKD -Zlinker /PACKC -Zlinker /PM:VIO -o
#All files to build
all: sample12.exe
#Rules to build the object-files
%.obj: %.cpp
$(CC) $(CFLAGS) $(DFLAGS) $<
#Rules to build the application
sample12.exe: $(OBJS)
$(LINK) sample12.exe $(OBJS) $(LIBS)
#Dependencies
sample12.obj: sample12.cpp