Ignore:
Timestamp:
Jan 26, 2012, 1:00:12 AM (14 years ago)
Author:
Steven Levine
Message:

Rework makefiles to allow highmem suppress from command line
See NOHIGHMEM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/makefile_post.mk

    r1624 r1661  
    22# $Id$
    33
    4 # Copyright (c) 2002, 2009 Steven H. Levine
     4# Copyright (c) 2002, 2012 Steven H. Levine
    55
    66# 16 Aug 05 SHL Clean up
     
    1616# 21 Jun 11 GKY Make high memory builds the default resources only for exes
    1717# 04 Jul 11 GKY Make xqs files an explicit target so they will be rebuild if lost somehow.
     18# 25 Jan 12 SHL Renamae LOW -> NOHIGHMEM and allow set from enviroment
    1819
    1920!ifndef MAKERES
     
    2223# Common parameters go in .lrf
    2324# Executable specific paramters go in .def
     25# Put 32-bit data in high memoryt unless overridden
     26
     27!ifndef NOHIGHMEM
     28!ifdef %NOHIGHMEM
     29NOHIGHMEM=$(%NOHIGHMEM)
     30!endif
     31!endif
    2432
    2533$(BASE).exe: $(BASE).lrf $(BASE).obj $(BASE).res $(BASE).def .explicit
     
    3038  @echo.
    3139  $(RC) $(RCFLAGS2) $(BASE).res $@
    32 !ifndef LOW
    33   !exehdr /hi:3 $@
     40!ifndef NOHIGHMEM
     41  !exehdr /highmem:3 $@
    3442!endif
    3543
    36 LOW =
     44# 2012-01-25 SHL fixme to be gone - does not undefine
     45# NOHIGHMEM =
    3746
    3847$(BASE).lrf: $(__MAKEFILES__) .explicit
     
    4958$(BASE).sym: $(BASE).map .explicit
    5059   @echo Processing: $?
    51    -perl debugtools\mapsymw.pl $?   
     60   -perl debugtools\mapsymw.pl $?
    5261
    5362!else
Note: See TracChangeset for help on using the changeset viewer.