source: trunk/Lucide/SOURCE/plugins/lujpeg/makefile @ 223

Last change on this file since 223 was 223, checked in by Eugene Romanenko, 14 years ago

tune compiler options

File size: 1.1 KB
Line 
1.autodepend
2
3OBJDIR = ..\..\..\OBJS
4EXEDIR = ..\..\..\BIN
5
6.path.obj = $(OBJDIR)
7.path.res = $(OBJDIR)
8.path.exe = $(EXEDIR)
9.path.dll = $(EXEDIR)
10
11
12.CPP.OBJ:
13     WPP386 @make.cfg -fo$@ $<
14
15.idl.xh:
16    sc -c -s"xc;xih;xh" -I..\ludoc $<
17    ..\..\sominc\cnvsomex.cmd $@
18
19
20all: make.cfg lujpeg.dll
21   DEL MAKE.CFG
22
23
24lujpeg.dll: lujpeg.obj jpscale.obj ..\ludoc\ludoc.lib
25  copy &&|
26option quiet
27system os2v2 dll initinstance terminstance
28option map=$(OBJDIR)\lujpeg
29option statics
30file $(OBJDIR)\lujpeg.obj
31file $(OBJDIR)\jpscale.obj
32name $(EXEDIR)\lujpeg
33lib ..\..\..\..\libjpeg\libjpeg.lib
34lib ..\ludoc\ludoc
35lib somtk 
36export LuJpegDocumentNewClass
37export LuJpegDocumentClassData
38export LuJpegDocumentCClassData
39export createObject
40export getSupportedExtensions
41export getDescription
42export getSignatureCheck
43| tmpmake.lnk >NUL
44    wlink @tmpmake.lnk
45    del tmpmake.lnk
46   
47
48lujpeg.obj: lujpeg.cpp lujpeg.xh
49
50lujpeg.cpp: lujpeg.idl
51
52
53MAKE.CFG: makefile
54  copy &&|
55-zq 
56-zp=8
57-bm
58-ot
59-ox
60-oh
61-xs
62-xr
63-I..\..\sominc
64-I..\ludoc
65-I..\..\..\..\libjpeg
66-DOS2
67| MAKE.CFG >NUL
Note: See TracBrowser for help on using the repository browser.