mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-22 22:00:49 +00:00
Fixed my last change as it didn't work with target names containing dots
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@9358 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
0a2d7529c3
commit
8d0408e19a
1 changed files with 3 additions and 3 deletions
|
@ -39,9 +39,9 @@ RULES_MAKE_LOADED=yes
|
|||
# libgmodel.all.library.variables
|
||||
#
|
||||
%.variables:
|
||||
@(target=$(word 1,$(subst ., ,$*)); \
|
||||
operation=$(word 2,$(subst ., ,$*)); \
|
||||
type=$(subst -,_,$(word 3,$(subst ., ,$*))); \
|
||||
@(target=$(basename $(basename $*)); \
|
||||
operation=$(subst .,,$(suffix $(basename $*))); \
|
||||
type=$(subst -,_,$(subst .,,$(suffix $*))); \
|
||||
$(MAKE) -f $(MAKEFILE_NAME) --no-print-directory --no-keep-going \
|
||||
TARGET_TYPE=$${type} \
|
||||
OPERATION=$${operation} TARGET=$${target} \
|
||||
|
|
Loading…
Reference in a new issue