mirror of
https://github.com/nasa/trick.git
synced 2024-12-24 07:16:41 +00:00
parent
9fa76d8e78
commit
3600e3880a
@ -5,16 +5,18 @@ RM := /bin/rm
|
|||||||
CP := /bin/cp
|
CP := /bin/cp
|
||||||
PWD = $(shell /bin/pwd)
|
PWD = $(shell /bin/pwd)
|
||||||
|
|
||||||
|
export TRICK_HOME := $(abspath $(dir $(lastword $(MAKEFILE_LIST)))../../..)
|
||||||
|
|
||||||
COLOR = [34m$(1)[0m
|
COLOR = [34m$(1)[0m
|
||||||
|
|
||||||
ifndef TRICK_VERBOSE_BUILD
|
ifndef TRICK_VERBOSE_BUILD
|
||||||
ECHO_CMD = @
|
ECHO_CMD = @
|
||||||
endif
|
endif
|
||||||
|
|
||||||
export TRICK_HOST_TYPE := $(shell export TRICK_HOME=$(TRICK_HOME) && $(TRICK_HOME)/bin/trick-gte TRICK_HOST_TYPE)
|
export TRICK_HOST_TYPE := $(shell $(TRICK_HOME)/bin/trick-gte TRICK_HOST_TYPE)
|
||||||
export TRICK_VERSION := $(shell export TRICK_HOME=$(TRICK_HOME) && $(TRICK_HOME)/bin/trick-version -v)
|
export TRICK_VERSION := $(shell $(TRICK_HOME)/bin/trick-version -v)
|
||||||
export TRICK_MAJOR := $(shell export TRICK_HOME=$(TRICK_HOME) && $(TRICK_HOME)/bin/trick-version -y)
|
export TRICK_MAJOR := $(shell $(TRICK_HOME)/bin/trick-version -y)
|
||||||
export TRICK_MINOR := $(shell export TRICK_HOME=$(TRICK_HOME) && $(TRICK_HOME)/bin/trick-version -m)
|
export TRICK_MINOR := $(shell $(TRICK_HOME)/bin/trick-version -m)
|
||||||
|
|
||||||
include $(TRICK_HOME)/share/trick/makefiles/config_${TRICK_HOST_TYPE}.mk
|
include $(TRICK_HOME)/share/trick/makefiles/config_${TRICK_HOST_TYPE}.mk
|
||||||
-include $(TRICK_HOME)/share/trick/makefiles/config_user.mk
|
-include $(TRICK_HOME)/share/trick/makefiles/config_user.mk
|
||||||
|
@ -2,6 +2,8 @@
|
|||||||
# Makefile for Data Products Libs And Apps
|
# Makefile for Data Products Libs And Apps
|
||||||
#
|
#
|
||||||
|
|
||||||
|
TRICK_HOME := $(abspath $(dir $(lastword $(MAKEFILE_LIST)))../..)
|
||||||
|
|
||||||
include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
|
include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
|
||||||
|
|
||||||
LIB_DIR = lib_${TRICK_HOST_CPU}
|
LIB_DIR = lib_${TRICK_HOST_CPU}
|
||||||
|
Loading…
Reference in New Issue
Block a user