##
-# Copyright (c) 2007 Apple Inc. All rights reserved.
+# Copyright (c) 2007-2009 Apple Inc. All rights reserved.
#
# @APPLE_LICENSE_HEADER_START@
#
# for both crt1.0 and crt1.10.5.o
#
-run: all
- ${TESTROOT}/bin/exit-zero-pass.pl "crt-result good-10.4" "crt-result good-10.4" ./good-10.4
- ${TESTROOT}/bin/exit-zero-pass.pl "crt-result good-10.5" "crt-result good-10.5" ./good-10.5
- ${TESTROOT}/bin/exit-non-zero-pass.pl "crt-result bad-10.4" "crt-result bad-10.4" ./bad-10.4
- ${TESTROOT}/bin/exit-non-zero-pass.pl "crt-result bad-10.5" "crt-result bad-10.5" ./bad-10.5
+all-check: all check
+check:
+ ${TESTROOT}/bin/exit-zero-pass.pl "crt-result good" "crt-result good" ./good
+ ${TESTROOT}/bin/exit-non-zero-pass.pl "crt-result bad" "crt-result bad" ./bad
-all: good-10.4 good-10.5 bad-10.4 bad-10.5
-good-10.4: good.c
- ${CC} ${CCFLAGS} -I${TESTROOT}/include -o good-10.4 good.c -mmacosx-version-min=10.4
+all: good bad
-good-10.5: good.c
- ${CC} ${CCFLAGS} -I${TESTROOT}/include -o good-10.5 good.c -mmacosx-version-min=10.5
-bad-10.4: bad.c
- ${CC} ${CCFLAGS} -I${TESTROOT}/include -o bad-10.4 bad.c -mmacosx-version-min=10.4
+good: good.c
+ ${CC} ${CCFLAGS} -I${TESTROOT}/include -o good good.c
-bad-10.5: bad.c
- ${CC} ${CCFLAGS} -I${TESTROOT}/include -o bad-10.5 bad.c -mmacosx-version-min=10.5
+bad: bad.c
+ ${CC} ${CCFLAGS} -I${TESTROOT}/include -o bad bad.c
clean:
- ${RM} ${RMFLAGS} *~ good-10.4 good-10.5 bad-10.4 bad-10.5
+ ${RM} ${RMFLAGS} *~ good bad