+SHELL = bash # use bash shell so we can redirect just stderr
+
+PWD = `pwd`
+
+ifeq "$(OS_NAME)" "iPhoneOS"
+ RUN_AS_USER = login -f -l mobile
+else
+ RUN_AS_USER =
+endif
+
+all-check: all check
+
+check:
+ ${RUN_AS_USER} $(PWD)/main-with-env insert-libraries-with-suid 2>/dev/null