Last change
on this file since 6502 was 6402, checked in by bird, 24 years ago |
Force scanning of all files if -a is specified to nmake.
|
File size:
1.4 KB
|
Rev | Line | |
---|
[6402] | 1 | # $Id: odin32.tools.mk,v 1.5 2001-07-29 23:28:11 bird Exp $
|
---|
[4718] | 2 |
|
---|
| 3 | #
|
---|
| 4 | # Odin32 API
|
---|
| 5 | #
|
---|
| 6 | # makefile for the build system tools and standard rules
|
---|
| 7 | #
|
---|
| 8 |
|
---|
| 9 |
|
---|
| 10 | #
|
---|
| 11 | # Check that CCENV is set; set defaults if not set.
|
---|
| 12 | #
|
---|
| 13 | !ifndef CCENV
|
---|
| 14 | ! ifndef __VERSION__
|
---|
| 15 | CCENV = VAC3
|
---|
| 16 | VAC3 = 1
|
---|
| 17 | ! else
|
---|
| 18 | CCENV = WAT
|
---|
| 19 | WAT = 1
|
---|
| 20 | ! endif
|
---|
| 21 | !endif
|
---|
| 22 |
|
---|
| 23 |
|
---|
| 24 | #
|
---|
| 25 | # Check that ODIN32_INCLUDE and ODIN32_TOOLS is set; set default if not set.
|
---|
| 26 | #
|
---|
| 27 | !ifndef ODIN32_INCLUDE
|
---|
| 28 | ODIN32_INCLUDE = ..\..\include
|
---|
| 29 | !endif
|
---|
| 30 | !ifndef ODIN32_TOOLS
|
---|
| 31 | ODIN32_TOOLS = ..\..\tools\bin
|
---|
| 32 | !endif
|
---|
| 33 |
|
---|
| 34 |
|
---|
| 35 | #
|
---|
| 36 | # System Utilites
|
---|
| 37 | #
|
---|
| 38 | RM = rm -f
|
---|
| 39 | CP = copy
|
---|
| 40 | MKDIR = mkdir
|
---|
| 41 | ECHO = echo
|
---|
| 42 | EXISTS = $(ODIN32_TOOLS)\Exists.cmd
|
---|
| 43 | DODIRS = $(ODIN32_TOOLS)\DoDirs.cmd
|
---|
| 44 | DOWITHDIRS = $(ODIN32_TOOLS)\dowithdirs.cmd
|
---|
| 45 | IMPDEF = $(ODIN32_TOOLS)\impdef.exe
|
---|
| 46 | CREATEPATH = $(ODIN32_TOOLS)\CreatePath.cmd
|
---|
| 47 | EXECEXCL = $(ODIN32_TOOLS)\ExecExcl.cmd
|
---|
[4891] | 48 | BLDLEVELINF = $(ODIN32_TOOLS)\BldLevelInf.cmd
|
---|
[4872] | 49 | LXLITE = $(ODIN32_TOOLS)\lxlite.exe
|
---|
[6402] | 50 | DEPEND = $(ODIN32_TOOLS)\fastdep.exe -o$$(OBJDIR) -cy+
|
---|
| 51 | !ifdef MAKEFLAGS
|
---|
| 52 | !if "$(MAKEVER)" != "5.0"
|
---|
| 53 | !if "$(MAKEFLAGS:A=z)" != "$(MAKEFLAGS)"
|
---|
| 54 | DEPEND = $(ODIN32_TOOLS)\fastdep.exe -o$$(OBJDIR) -cy+ -F+
|
---|
| 55 | !endif
|
---|
| 56 | !else
|
---|
| 57 | !if "$(MAKEFLAGS:a=z)" != "$(MAKEFLAGS)"
|
---|
| 58 | DEPEND = $(ODIN32_TOOLS)\fastdep.exe -o$$(OBJDIR) -cy+ -F+
|
---|
| 59 | !endif
|
---|
| 60 | !endif
|
---|
| 61 | !endif
|
---|
[4718] | 62 |
|
---|
[4891] | 63 |
|
---|
[4718] | 64 | #
|
---|
| 65 | # Include compiler dependent tools
|
---|
| 66 | #
|
---|
| 67 | !include $(ODIN32_INCLUDE)/odin32.tools.$(CCENV).mk
|
---|
| 68 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.