]> git.saurik.com Git - apple/dyld.git/blobdiff - unit-tests/test-cases/crt-result/Makefile
dyld-851.27.tar.gz
[apple/dyld.git] / unit-tests / test-cases / crt-result / Makefile
index 8e7cbf380853aed15db94291d6a889d101a56d06..a0cf8eda938cab9bdac2e27a05d2a19e78d4ebaf 100644 (file)
@@ -1,5 +1,5 @@
 ##
-# Copyright (c) 2007 Apple Inc. All rights reserved.
+# Copyright (c) 2007-2009 Apple Inc. All rights reserved.
 #
 # @APPLE_LICENSE_HEADER_START@
 # 
@@ -28,28 +28,23 @@ include ${TESTROOT}/include/common.makefile
 # 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