Changeset 1133 for trunk/src


Ignore:
Timestamp:
Feb 1, 2004, 12:57:51 AM (22 years ago)
Author:
bird
Message:

Made it repect PATH_OBJ and BUILD_MODE env.vars.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/Makefile

    • Property cvs2svn:cvs-rev changed from 1.40 to 1.41
    r1132 r1133  
    4141endif
    4242
     43# Actual output directory (referenced with $.)
     44. = $(OUT)$(MODE)/
     45
     46# overrides from the environment.
     47ifdef PATH_OBJ
     48ifndef PATH_OBJD
     49PATH_OBJD := $(shell echo $(PATH_OBJ)|sed 's/^[a-zA-Z]://')
     50endif
     51OUT = $(PATH_OBJD)/emx/
     52INS = $(PATH_OBJD)/builttools/usr/
     53.   = $(OUT)
     54endif
     55
     56ifdef BUILD_MODE
     57ifeq ($(BUILD_MODE),RELEASE)
     58MODE = opt
     59endif
     60endif
     61
    4362# Check if MODE has a valid value
    4463ifneq ($(filter-out /opt/ /dbg/ /prf/,/$(MODE)/),)
     
    5473# Use ash.exe which is quite fast (comparable to cmd.exe) but has more features
    5574SHELL := ash.exe
    56 
    57 # Actual output directory (referenced with $.)
    58 . = $(OUT)$(MODE)/
    5975
    6076# Source base directory.
Note: See TracChangeset for help on using the changeset viewer.