1# -*- Makefile -*- Time-stamp: <06/11/13 23:03:45 ptr> 2 3SRCROOT := ../../.. 4 5EXTRA_POST := checks 6EXTRA_POST_DBG := checks-dbg 7EXTRA_POST_STLDBG := checks-stldbg 8 9include Makefile.inc 10include ${SRCROOT}/Makefiles/gmake/top.mak 11 12ifndef WITHOUT_STLPORT 13LDFLAGS += -Wl,-rpath=${STLPORT_LIB_DIR} 14endif 15 16checks: 17 file ${PRG} | grep ELF >/dev/null || exit 1 18 @echo 19 @echo release ok 20 @echo 21 22checks-dbg: 23 file ${PRG_DBG} | grep ELF >/dev/null || exit 1 24 @echo 25 @echo dbg ok 26 @echo 27 28ifndef WITHOUT_STLPORT 29checks-stldbg: 30 file ${PRG_STLDBG} | grep ELF >/dev/null || exit 1 31 @echo 32 @echo stldbg ok 33 @echo 34endif 35 36PHONY += checks checks-dbg checks-stldbg 37