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

Last change on this file since 4759 was 4719, checked in by bird, 25 years ago

New makefile style. (addjustments)

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