Line | |
---|
1 | # $Id: pec.mak,v 1.4 2000-12-16 15:40:54 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 |
|
---|
25 | #
|
---|
26 | # Object files. Prefix with OBJDIR and one space before the '\'.
|
---|
27 | #
|
---|
28 | OBJS = \
|
---|
29 | $(OBJDIR)\pec.obj
|
---|
30 |
|
---|
31 |
|
---|
32 | #
|
---|
33 | # Libraries. One space before the '\'.
|
---|
34 | #
|
---|
35 | LIBS = \
|
---|
36 | $(ODIN32_LIB)/$(ODINCRT).lib \
|
---|
37 | $(RTLLIB_O) \
|
---|
38 | os2386.lib
|
---|
39 |
|
---|
40 |
|
---|
41 | #
|
---|
42 | # Target name - name of the dll without extention and path.
|
---|
43 | #
|
---|
44 | TARGET = pec
|
---|
45 |
|
---|
46 |
|
---|
47 | #
|
---|
48 | # Includes the common rules.
|
---|
49 | #
|
---|
50 | !include $(ODIN32_POST_INC)
|
---|
51 |
|
---|
52 |
|
---|
53 | #
|
---|
54 | # Special rule for pec.obj
|
---|
55 | #
|
---|
56 | $(OBJDIR)\pec.obj: pe.cpp
|
---|
57 | !if "$(VAC3)" == "1" || "$(VAC36)" == "1"
|
---|
58 | $(CXX) $(CXXFLAGS) $(CINCLUDES) $(CDEFINES) -DCOMMAND_LINE_VERSION -Fo$@ -c $**
|
---|
59 | !else
|
---|
60 | !error Compiler not supported yet
|
---|
61 | !endif
|
---|
62 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.