source: trunk/tools/common/common.mak@ 10367

Last change on this file since 10367 was 9719, checked in by bird, 23 years ago

defined STATIC_CRT so the wrapper headers doesn't kick in.

File size: 893 bytes
Line 
1# $Id: common.mak,v 1.7 2003-01-23 13:47:50 bird Exp $
2
3#
4# Odin32 API
5#
6# common.lib makefile
7#
8
9
10#
11# Tell buildenvironmet to build an object library.
12#
13LIBTARGET = 1
14EXETARGET = 1
15STATIC_CRT = 1
16
17#
18# Compiler, tools, and interference rules.
19#
20!include ../../makefile.inc
21
22
23#
24# We use exception, so we'll have to enable them.
25#
26!ifndef WMAKE
27CXXFLAGS = $(CXXFLAGS) $(CXXEXCEPTIONS)
28!else
29CXXFLAGS += $(CXXEXCEPTIONS)
30!endif
31
32
33#
34# Object files. Prefix with OBJDIR and one space before the '\'.
35#
36OBJS = \
37$(OBJDIR)\kFileDEF.obj \
38$(OBJDIR)\kFileLX.obj \
39$(OBJDIR)\kFilePE.obj \
40$(OBJDIR)\kFileSDF.obj \
41$(OBJDIR)\kFileFormatBase.obj \
42$(OBJDIR)\kFile.obj \
43$(OBJDIR)\kFileInterfaces.obj \
44$(OBJDIR)\kAssert.obj \
45$(OBJDIR)\kError.obj \
46
47
48#
49# Target name - name of the library without extention and path.
50#
51TARGET = common
52
53
54#
55# Includes the common rules.
56#
57!include $(ODIN32_POST_INC)
58
Note: See TracBrowser for help on using the repository browser.