mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-28 15:52:49 +01:00
test-exe.mk: Now not installing executables anymore from test-exe.mk
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
d413338dcf
commit
8d7b6e89d6
1 changed files with 15 additions and 3 deletions
|
|
@ -3,12 +3,17 @@
|
||||||
# contact@jannet.de
|
# contact@jannet.de
|
||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
EXE_BASENAME ?= test_$(notdir $(shell pwd))
|
EXE_BASENAME ?= test-$(notdir $(shell pwd))
|
||||||
|
|
||||||
include $(MODDIR)/make/exe.mk
|
include $(MODDIR)/make/run.mk
|
||||||
|
|
||||||
|
all: $(EXE)
|
||||||
|
install:
|
||||||
|
clean: execlean localclean profclean testclean
|
||||||
|
distclean:
|
||||||
|
run test: all.dirs $(EXE) $(EXE_BIN)
|
||||||
|
strace: $(EXE) $(EXE_BIN)
|
||||||
test: test.done
|
test: test.done
|
||||||
clean: testclean
|
|
||||||
|
|
||||||
test.done:
|
test.done:
|
||||||
if ! 2>&1 make run > test.out 2>&1; then \
|
if ! 2>&1 make run > test.out 2>&1; then \
|
||||||
|
|
@ -19,3 +24,10 @@ test.done:
|
||||||
|
|
||||||
testclean:
|
testclean:
|
||||||
rm -rf test.done test.out
|
rm -rf test.done test.out
|
||||||
|
|
||||||
|
ifeq ($(USE_PROJECT_LIB),true)
|
||||||
|
$(LIB_SO): $(LIB_A)
|
||||||
|
$(EXE): $(LIB_SO)
|
||||||
|
endif
|
||||||
|
all.dirs:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue