mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
test-exe.mk: Add file
This commit is contained in:
parent
6fb6240bab
commit
504ef95d69
1 changed files with 25 additions and 0 deletions
25
make/test-exe.mk
Normal file
25
make/test-exe.mk
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
# generic utility modules
|
||||
# (c) 2001 jannet it services
|
||||
# contact@jannet.de
|
||||
# $Id$
|
||||
|
||||
ifeq ($(EXE),)
|
||||
EXE = $(notdir $(shell pwd))
|
||||
endif
|
||||
|
||||
include $(MODDIR)/make/defs.mk
|
||||
include $(MODDIR)/make/ldlibpath.mk
|
||||
include $(MODDIR)/make/exe.mk
|
||||
|
||||
all: test.done
|
||||
clean: test-out-clean
|
||||
|
||||
test.done:
|
||||
if ! 2>&1 make run > test.out 2>&1 ; then \
|
||||
echo "================= test failed"; \
|
||||
cat test.out; \
|
||||
fi
|
||||
touch $@
|
||||
|
||||
test-out-clean:
|
||||
rm -rf test.done test.out
|
||||
Loading…
Add table
Add a link
Reference in a new issue