source: trunk/tools/pebuild/makefile@ 10367

Last change on this file since 10367 was 10298, checked in by sandervl, 22 years ago

added

File size: 1.4 KB
Line 
1# $Id: makefile,v 1.1 2003-10-24 14:53:33 sandervl Exp $
2
3#
4# Odin32 API
5#
6# Makefile for the ImpDef utility.
7#
8#
9
10
11#
12# Directory macros.
13#
14ODIN32_TCOMMON = ..\common
15ODIN32_BIN = $(ODIN32_TOOLS)
16
17
18#
19# Tell buildenvironment that we're making an vio .exe.
20# Tell buildenvironment that we like to use static linked CRT.
21# Tell buildenvironment that we should not copy this into /bin.
22#
23EXETARGET = 1
24VIO = 1
25STATIC_CRT = 1
26NO_MAIN_BIN_COPY = 1
27
28
29#
30# Compiler, tools, and interference rules.
31#
32!include ../../makefile.inc
33!include $(ODIN32_TCOMMON)\common.mk
34
35
36#
37# Flag overrides.
38#
39!if "$(VAC3)" == "1" || "$(VAC36)" == "1"
40CFLAGS = $(CFLAGS) -Wall+ppt-ppc-inl-cnv-gnr-vft-
41CXXFLAGS = $(CXXFLAGS) -Wall+ppt-ppc-inl-cnv-gnr-vft- $(CXXEXCEPTIONS)
42!else
43!if "$(WAT)" == "1"
44CXXFLAGS += $(CXXEXCEPTIONS)
45!else
46CXXFLAGS = $(CXXFLAGS) $(CXXEXCEPTIONS)
47!endif
48!endif
49
50
51#
52# Object files. Prefix with OBJDIR and one space before the '\'.
53#
54OBJS= \
55##$(OBJDIR)\import.obj \
56$(OBJDIR)\main.obj \
57$(OBJDIR)\parser.obj \
58##$(OBJDIR)\relay.obj \
59##$(OBJDIR)\res32.obj \
60$(OBJDIR)\spec32.obj \
61$(OBJDIR)\utils.obj
62
63
64#
65# Libraries. One space before the '\'.
66#
67LIBS = \
68$(COMMONLIB) \
69$(RTLLIB) \
70os2386.lib
71
72
73#
74# Target name - name of the exe without extention and path.
75#
76TARGET = PEBuild
77
78
79#
80# Includes the common rules.
81#
82!include $(ODIN32_POST_INC)
83!include $(ODIN32_TCOMMON_POST_INC)
84
Note: See TracBrowser for help on using the repository browser.