source: trunk/src/peldr/pec.mak@ 10366

Last change on this file since 10366 was 9571, checked in by sandervl, 23 years ago

statically link with CRT

File size: 941 bytes
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#
12STACKSIZE = 0x100000
13VIO = 1
14EXETARGET = 1
15MAKEFILE = pec.mak
16
17
18#
19# Compiler, tools, and interference rules.
20#
21!include ../../makefile.inc
22
23#
24# Overrides.
25#
26CXXFLAGS = $(CXXFLAGS_ODINCRT)
27LD2FLAGS = $(LD2FLAGS_ODINCRT)
28
29
30#
31# Object files. Prefix with OBJDIR and one space before the '\'.
32#
33OBJS = \
34$(OBJDIR)\pec.obj
35
36
37#
38# Libraries. One space before the '\'.
39#
40LIBS = \
41$(RTLLIB_O) \
42os2386.lib
43
44
45#
46# Target name - name of the dll without extention and path.
47#
48TARGET = 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.