]>
Commit | Line | Data |
---|---|---|
1 | ||
2 | WXDIR = $(WXWIN) | |
3 | WXUSINGDLL = 1 | |
4 | ||
5 | PROGRAM = test_dll | |
6 | OBJECTS = test_dll.obj | |
7 | ||
8 | !include $(WXDIR)\src\makevc.env | |
9 | ||
10 | ||
11 | $(PROGRAM).dll : $(OBJECTS) | |
12 | $(link) @<< | |
13 | -out:$(PROGRAM).dll | |
14 | -dll $(LINK_DEBUG_FLAGS) $(WINLINKFLAGS) | |
15 | $(OBJECTS) | |
16 | $(WXLIB) | |
17 | << | |
18 | ||
19 | ||
20 | clean: | |
21 | del $(OBJECTS) | |
22 | del $(PROGRAM).dll | |
23 | del $(PROGRAM).exp | |
24 | del $(PROGRAM).lib | |
25 | del $(PROGRAM).pdb | |
26 | ||
27 | test: | |
28 | @echo -out:$(PROGRAM).dll | |
29 | @echo -dll $(LINK_DEBUG_FLAGS) $(WINLINKFLAGS) | |
30 | @echo $(OBJECTS) | |
31 | @echo $(WXLIB) | |
32 |