mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
25 lines
396 B
Makefile
25 lines
396 B
Makefile
# generic utility modules
|
|
# (c) 2001 jannet it services
|
|
# contact@jannet.de
|
|
# $Id$
|
|
|
|
ifeq ($(TARGET),mingw)
|
|
EXE ?= test_$(notdir $(shell pwd)).exe
|
|
else
|
|
EXE ?= test_$(notdir $(shell pwd))
|
|
endif
|
|
|
|
include $(MODDIR)/make/exe.mk
|
|
|
|
test: test.done
|
|
clean: testclean
|
|
|
|
test.done:
|
|
if ! 2>&1 make run > test.out 2>&1; then \
|
|
cat test.out; \
|
|
exit 1; \
|
|
fi
|
|
touch $@
|
|
|
|
testclean:
|
|
rm -rf test.done test.out
|