mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
run.mk: Make EXE_BASENAME something not "test"
This commit is contained in:
parent
44637186b4
commit
fd71754229
1 changed files with 9 additions and 1 deletions
10
make/run.mk
10
make/run.mk
|
|
@ -3,7 +3,15 @@
|
|||
# contact@jannet.de
|
||||
# $Id$
|
||||
|
||||
EXE_BASENAME ?= $(notdir $(shell pwd))
|
||||
DIR_BASENAME = $(notdir $(shell pwd))
|
||||
|
||||
ifeq ($(EXE_BASENAME),)
|
||||
ifneq ($(DIR_BASENAME),test)
|
||||
EXE_BASENAME = $(DIR_BASENAME)
|
||||
else
|
||||
EXE_BASENAME = test-$(notdir $(shell cd ..; pwd))
|
||||
endif
|
||||
endif
|
||||
|
||||
include $(MODDIR)/make/defs.mk
|
||||
BUILD_HDR =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue