Changeset 4804 for trunk/tools/common


Ignore:
Timestamp:
Dec 16, 2000, 9:10:09 PM (25 years ago)
Author:
bird
Message:

Prepared for build level info.

Location:
trunk/tools/common
Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/common/common.mak

    r4712 r4804  
    1 # $Id: common.mak,v 1.2 2000-12-02 23:26:57 bird Exp $
     1# $Id: common.mak,v 1.3 2000-12-16 20:10:07 bird Exp $
    22
    33#
     
    1919#
    2020!include ../../makefile.inc
     21
     22
     23#
     24# We use exception, so we'll have to enable them.
     25#
     26!ifndef WAT
     27CXXFLAGS = $(CXXFLAGS) $(CXXEXCEPTIONS)
     28!else
     29CXXFLAGS += $(CXXEXCEPTIONS)
     30!endif
    2131
    2232
  • trunk/tools/common/common.mk

    r4712 r4804  
    1 # $Id: common.mk,v 1.4 2000-12-02 23:26:57 bird Exp $
     1# $Id: common.mk,v 1.5 2000-12-16 20:10:07 bird Exp $
    22#
    33# Common definitions for tools.
     
    1111# Project Odin Software License can be found in LICENSE.TXT
    1212#
     13
     14
     15#
     16# We use exception, so we'll have to enable them.
     17#
     18!ifndef WAT
     19CXXFLAGS = $(CXXFLAGS) $(CXXEXCEPTIONS)
     20!else
     21CXXFLAGS += $(CXXEXCEPTIONS)
     22!endif
    1323
    1424
  • trunk/tools/common/kFileDef.cpp

    r4426 r4804  
    99*   Defined Constants                                                          *
    1010*******************************************************************************/
    11 #define StringCase(psz, pszMatch) (strnicmp(psz, pszMatch, sizeof(pszMatch)-1) == 0)
     11#define StringCase(psz, pszMatch) (strnicmp(psz, pszMatch, sizeof(pszMatch)-1) == 0 \
     12                                   && (   psz[sizeof(pszMatch)-1] == '\0' \
     13                                       || psz[sizeof(pszMatch)-1] == ' '  \
     14                                       || psz[sizeof(pszMatch)-1] == '\n' \
     15                                       || psz[sizeof(pszMatch)-1] == '\r' \
     16                                       || psz[sizeof(pszMatch)-1] == '\t' \
     17                                       ) \
     18                                   )
    1219
    1320/*******************************************************************************
  • trunk/tools/common/makefile

    r4712 r4804  
    1 # $Id: makefile,v 1.10 2000-12-02 23:26:58 bird Exp $
     1# $Id: makefile,v 1.11 2000-12-16 20:10:07 bird Exp $
    22
    33#
     
    4040#
    4141needed:     $(OBJDIR)\common.lib \
    42             $(ODIN32_TOOLS)\kDef2Wat.exe
    43 
     42            $(ODIN32_TOOLS)\kDef2Wat.exe \
     43            $(SYMBOLIC)
    4444
    4545#
     
    7070# Clean rule.
    7171#
    72 clean:
     72clean:  $(SYMBOLIC)
    7373    $(MAKE_CMD) -f common.mak clean
    7474    $(MAKE_CMD) -f kDef2Wat.mak clean
     
    7979# Dep rule - makes depenencies for C, C++ and Asm files.
    8080#
    81 dep:
     81dep:    $(SYMBOLIC)
    8282    $(DEPEND) $(CINCLUDES) *.c *.cpp *.h *.asm *.inc \
    8383        *.rc *.dlg $(ODIN32_INCLUDE)\*.h -robj *.orc \
     
    8989# A simple hack to make nmake process the target.
    9090#
    91 force:
     91force:  $(SYMBOLIC)
    9292     -@echo ...
    9393
     
    9696# Lib rule - dummy rule
    9797#
    98 lib:
     98lib:    $(SYMBOLIC)
    9999
Note: See TracChangeset for help on using the changeset viewer.