blob: 5278d03795d7cf9da83a25ea63ba5f2198827452 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# This option is required to successfully return doubles via STDCALL as in
# Sub function in dll.c.
CCFLAGS = -mno-fp-ret-in-387 ;
Main exe.exe : exe.c ;
LinkLibraries exe.exe : libdll.a ;
DEPENDS exe.exe : dll.dll ;
LINKFLAGS on exe.exe = $(LINKFLAGS) -L. ;
Main loaddll.exe : loaddll.c ;
DEPENDS loaddll.exe : dll.dll ;
Dll dll.dll : dll.c ;
ImportLib libdll.a : dll.def ;
Main expexe.exe : expexe.c ;
# Force the executable to include the expexe.def file.
Exports expexe.exe : expexe.def ;
Main loadexe.exe : loadexe.c ;
DEPENDS loadexe.exe : expexe.exe ;
Main silly.exe : silly.cpp ;
LinkLibraries silly.exe : libsilly.a ;
DEPENDS silly.exe : silly.dll ;
LINKFLAGS on silly.exe += -L. ;
Dll silly.dll : sillydll.cpp ;
ImportLib libsilly.a : silly.def ;
|