Line | |
---|
1 | # $Id: pec.mak,v 1.6 2002-12-30 19:05:38 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 | STACKSIZE = 0x100000
|
---|
13 | VIO = 1
|
---|
14 | EXETARGET = 1
|
---|
15 | MAKEFILE = pec.mak
|
---|
16 |
|
---|
17 |
|
---|
18 | #
|
---|
19 | # Compiler, tools, and interference rules.
|
---|
20 | #
|
---|
21 | !include ../../makefile.inc
|
---|
22 |
|
---|
23 | #
|
---|
24 | # Overrides.
|
---|
25 | #
|
---|
26 | CXXFLAGS = $(CXXFLAGS_ODINCRT)
|
---|
27 | LD2FLAGS = $(LD2FLAGS_ODINCRT)
|
---|
28 |
|
---|
29 |
|
---|
30 | #
|
---|
31 | # Object files. Prefix with OBJDIR and one space before the '\'.
|
---|
32 | #
|
---|
33 | OBJS = \
|
---|
34 | $(OBJDIR)\pec.obj
|
---|
35 |
|
---|
36 |
|
---|
37 | #
|
---|
38 | # Libraries. One space before the '\'.
|
---|
39 | #
|
---|
40 | LIBS = \
|
---|
41 | $(RTLLIB_O) \
|
---|
42 | os2386.lib
|
---|
43 |
|
---|
44 |
|
---|
45 | #
|
---|
46 | # Target name - name of the dll without extention and path.
|
---|
47 | #
|
---|
48 | TARGET = pec
|
---|
49 |
|
---|
50 |
|
---|
51 | #
|
---|
52 | # Includes the common rules.
|
---|
53 | #
|
---|
54 | !include $(ODIN32_POST_INC)
|
---|
55 |
|
---|
56 |
|
---|
57 | #
|
---|
58 | # Special rule for pec.obj
|
---|
59 | #
|
---|
60 | $(OBJDIR)\pec.obj: pe.cpp
|
---|
61 | !if "$(VAC3)" == "1" || "$(VAC36)" == "1" || "$(WAT)" == "1"
|
---|
62 | $(CXX) $(CXXFLAGS) $(CINCLUDES) $(CDEFINES) -DCOMMAND_LINE_VERSION -Fo$@ $**
|
---|
63 | !else
|
---|
64 | !error Compiler not supported yet
|
---|
65 | !endif
|
---|
66 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.