home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
dtswps.zip
/
DTSFILES.ZIP
/
EXAMPLE
/
MAKEFILE
< prev
Wrap
Text File
|
1996-06-27
|
799b
|
26 lines
.SUFFIXES:
.SUFFIXES: .cpp .obj .dll .idl .rc .res .pdl .def
.idl.def:
sc -p -sdef $(SCFLAGS) $(@B).idl
.idl.hh:
sc -p -shh -mnoqualifytypes -musehpass -S1000000 $(@B).idl
all: ex1.dll
ex1.obj: $$(@B).cpp $$(@B).hh
icc /c /Gd- /ss /Ms /Gm+ /Ge- /Ti+ -I. -c $(@B).cpp
ex1.dll: $$(@B).def ex1.obj ex1.res
icc /B" /de" /Feex1.dll /Fmex1.map ex1.def ex1.obj
rc -p -x $*.res $*.dll
mapsym ex1.map
ex1.res: $$(@B).rc $$(@B).hh
rc -i . -r $*.rc $*.res
clean:
-del *.obj >nul 2>nul
-del *.hh >nul 2>nul
-del *.dll >nul 2>nul
-del *.hlp >nul 2>nul
-del *.map >nul 2>nul
-del *.sym >nul 2>nul
-del *.res >nul 2>nul
-del *.def >nul 2>nul
-del *.exe >nul 2>nul