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

Last change on this file since 142 was 142, checked in by Eugene Romanenko, 15 years ago

Updated changelog, fix makefiles to work with OpenWatcom? 1.6

File size: 1.0 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 ..\ludoc\ludoc.lib
25  copy &&|
26option quiet
27system os2v2 dll initinstance terminstance
28option map=$(OBJDIR)\lujpeg
29option statics
30file $(OBJDIR)\lujpeg.obj
31name $(EXEDIR)\lujpeg
32lib ..\..\..\..\libjpeg\libjpeg.lib
33lib ..\ludoc\ludoc
34lib somtk 
35export LuJpegDocumentNewClass
36export LuJpegDocumentClassData
37export LuJpegDocumentCClassData
38export createObject
39export getSupportedExtensions
40export getDescription
41| tmpmake.lnk >NUL
42    wlink @tmpmake.lnk
43    del tmpmake.lnk
44   
45
46lujpeg.obj: lujpeg.cpp lujpeg.xh
47
48lujpeg.cpp: lujpeg.idl
49
50
51MAKE.CFG: makefile
52  copy &&|
53-zq 
54-zp=4
55-bm
56-ox
57-xs
58-xr
59-I..\..\sominc
60-I..\ludoc
61-I..\..\..\..\libjpeg
62-DOS2
63| MAKE.CFG >NUL
Note: See TracBrowser for help on using the repository browser.