Line | |
---|
1 | # $Id: pec.mak,v 1.2 2000-11-19 20:55:25 sandervl Exp $
|
---|
2 |
|
---|
3 | #
|
---|
4 | # Odin32 API
|
---|
5 | #
|
---|
6 | # pe.exe makefile
|
---|
7 | #
|
---|
8 |
|
---|
9 | #
|
---|
10 | # Tell that we're producing an executable
|
---|
11 | #
|
---|
12 | EXETARGET = 1
|
---|
13 |
|
---|
14 |
|
---|
15 | #
|
---|
16 | # Compiler, tools, and interference rules.
|
---|
17 | #
|
---|
18 | !include ../../include/pdwin32.mk
|
---|
19 |
|
---|
20 |
|
---|
21 | #
|
---|
22 | # Overrides.
|
---|
23 | #
|
---|
24 | !if "$(VAC3)" == "1" || "$(VAC36)" == "1"
|
---|
25 | LD2FLAGS = $(LD2FLAGS) /PMTYPE:vio /STACK:0x100000 /NOBASE
|
---|
26 | !else
|
---|
27 | !error Compiler not supported yet
|
---|
28 | !endif
|
---|
29 |
|
---|
30 |
|
---|
31 | #
|
---|
32 | # Object files. Prefix with OBJDIR and one space before the '\'.
|
---|
33 | #
|
---|
34 | OBJS = \
|
---|
35 | $(OBJDIR)\pec.obj
|
---|
36 |
|
---|
37 |
|
---|
38 | #
|
---|
39 | # Libraries. One space before the '\'.
|
---|
40 | #
|
---|
41 | LIBS = \
|
---|
42 | $(PDWIN32_LIB)/$(ODINCRT).lib \
|
---|
43 | $(RTLLIB_O) \
|
---|
44 | os2386.lib
|
---|
45 |
|
---|
46 |
|
---|
47 | #
|
---|
48 | # Target name - name of the dll without extention and path.
|
---|
49 | #
|
---|
50 | TARGET = pec
|
---|
51 |
|
---|
52 |
|
---|
53 | #
|
---|
54 | # Includes the common rules.
|
---|
55 | #
|
---|
56 | !include $(PDWIN32_INCLUDE)/pdwin32.post
|
---|
57 |
|
---|
58 |
|
---|
59 | #
|
---|
60 | # Special rule for pec.obj
|
---|
61 | #
|
---|
62 | $(OBJDIR)\pec.obj: pe.cpp
|
---|
63 | !if "$(VAC3)" == "1" || "$(VAC36)" == "1"
|
---|
64 | $(CXX) $(CXXFLAGS) $(CINCLUDES) $(CDEFINES) -DCOMMAND_LINE_VERSION -Fo$@ -c $**
|
---|
65 | !else
|
---|
66 | !error Compiler not supported yet
|
---|
67 | !endif
|
---|
68 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.