source: trunk/make/setup.optional.alp.mk@ 9165

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

Added new tools. Restructured tools. More options. Fixes.

File size: 875 bytes
RevLine 
[9165]1# $Id: setup.optional.alp.mk,v 1.4 2002-08-29 10:01:40 bird Exp $
[8423]2
3#
4# Helper file for all the optional stuff for the ALP assembler.
5#
6
[9165]7!ifdef AS_MODE
[8423]8_AS_MODE =
[9165]9! if "$(AS_MODE)" == "ALP"
[8423]10_AS_MODE = -Sv:ALP
11! endif
[9165]12! if "$(AS_MODE)" == "M510"
[8423]13_AS_MODE = -Sv:M510
14! endif
[9165]15! if "$(AS_MODE)" == "M600"
[8423]16_AS_MODE = -Sv:M600
17! endif
[9165]18! if "$(_AS_MODE)" == ""
[8423]19! if [$(ECHO) $(CLRERR)Error: Bad AS_MODE ($(AS_MODE)). Valid modes are ALP, M510 and M600.$(CLRRST)]
20! endif
21! error
22! endif
23!else
24_AS_MODE = -Sv:ALP
25!endif
26
[9136]27_AS_DEBUG_TYPE = +Ods:IBM32
[9139]28!ifdef AS_DEBUG_TYPE
29! if "$(AS_DEBUG_TYPE)" == "Codeview"
[9136]30_AS_DEBUG_TYPE = +Ods:MS16
[9139]31! else
32! if "$(AS_DEBUG_TYPE)" != "HLL"
33! if [$(ECHO) $(CLRERR)Error: Bad AS_DEBUG_TYPE ($(AS_DEBUG_TYPE)). Valid types are Codeview and HLL.$(CLRRST)]
34! endif
35! error
[9136]36! endif
37! endif
38!endif
39
40_AS_OPTIONAL = $(_AS_MODE) $(_AS_DEBUG_TYPE)
Note: See TracBrowser for help on using the repository browser.