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

Last change on this file since 4629 was 4624, checked in by bird, 25 years ago

New makefile style.

File size: 947 bytes
Line 
1# $Id: pec.mak,v 1.1 2000-11-19 08:57:05 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
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"
25LD2FLAGS = /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#
34OBJS = \
35$(OBJDIR)\pec.obj
36
37
38#
39# Libraries. One space before the '\'.
40#
41LIBS = \
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 $(PDWIN32_INCLUDE)/pdwin32.post
55
56
57#
58# Special rule for pec.obj
59#
60$(OBJDIR)\pec.obj: pe.cpp
61!if "$(VAC3)" == "1" || "$(VAC36)" == "1"
62 $(CXX) $(CXXFLAGS) $(CINCLUDES) $(CDEFINES) -DCOMMAND_LINE_VERSION -Fo$@ -c $**
63!else
64!error Compiler not supported yet
65!endif
66
Note: See TracBrowser for help on using the repository browser.