source: trunk/tools/common/common.mk@ 4653

Last change on this file since 4653 was 4620, checked in by bird, 25 years ago

New makefile style.

File size: 778 bytes
Line 
1# $Id: common.mk,v 1.2 2000-11-19 08:29:54 bird Exp $
2#
3# Common definitions for tools.
4#
5# Requires that PDWIN32_TCOMMON is defined to point to the
6# /tools/common directory
7#
8#
9# Copyright (c) 2000 knut st. osmundsen (knut.stange.osmundsen@pmsc.no)
10#
11# Project Odin Software License can be found in LICENSE.TXT
12#
13
14
15
16#
17# Make a suggestion of which common<gcc|icc>.<a|lib> library
18# to use.
19# not defined OMF indicates ICC
20# OMF=0 indicates GCC+aout
21# OMF=1 indicates GCC+OMF
22#
23!ifndef OMF
24COMMONLIB = $(PDWIN32_TCOMMON)\commonicc.lib
25!else
26 !if $(OMF) == 0
27COMMONLIB = $(PDWIN32_TCOMMON)\commongcc.a
28 !else
29COMMONLIB = $(PDWIN32_TCOMMON)\commongcc.lib
30 !endif
31!endif
32
33
34#
35# Add PDWIN32_TCOMMON to the C and C++ includes.
36#
37CINCLUDES = -I$(PDWIN32_TCOMMON) $(CINCLUDE)
38
Note: See TracBrowser for help on using the repository browser.