[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How to use gmsl
From: |
PATTON, BILLY \(SBCSI\) |
Subject: |
How to use gmsl |
Date: |
Tue, 28 Mar 2006 15:16:38 -0600 |
I need to have
if ( $(findstring build,$(MAKECMDGOALS) or $(findstring
refresh,$(MAKECMDGOALS))
include make.build
endif
here's my example
include gmsl
ifeq ( $(true),$(call or,$(findstring
build,$(MAKECMDGOALS)),$(findstring refresh,$(MAKECMDGOALS))))
TEST := ok
else
TEST := not ok
endif
.PHONY : all build+ldb+ldgdd
all :
@echo "TEST = '$(TEST)'\n"
build+ldb+ldgdd :
@echo "TEST = '$(TEST)'\n"
build :
@echo "TEST = '$(TEST)'\n"
refresh :
@echo "TEST = '$(TEST)'\n"
Executing as
make build
and get not ok
- How to use gmsl,
PATTON, BILLY \(SBCSI\) <=