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

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

Quality scaling in JPEG plugin (still buggy)

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
42| tmpmake.lnk >NUL
43    wlink @tmpmake.lnk
44    del tmpmake.lnk
45   
46
47lujpeg.obj: lujpeg.cpp lujpeg.xh
48
49lujpeg.cpp: lujpeg.idl
50
51
52MAKE.CFG: makefile
53  copy &&|
54-zq 
55-zp=4
56-bm
57-ot
58-ox
59-xs
60-xr
61-I..\..\sominc
62-I..\ludoc
63-I..\..\..\..\libjpeg
64-DOS2
65| MAKE.CFG >NUL
Note: See TracBrowser for help on using the repository browser.