X-Git-Url: https://git.saurik.com/apple/dyld.git/blobdiff_plain/bac542e65c0030c0d819c7ff1dcfc25892a61844..HEAD:/unit-tests/test-cases/crt-libSystem/Makefile?ds=sidebyside diff --git a/unit-tests/test-cases/crt-libSystem/Makefile b/unit-tests/test-cases/crt-libSystem/Makefile index 8d8b832..367730a 100644 --- a/unit-tests/test-cases/crt-libSystem/Makefile +++ b/unit-tests/test-cases/crt-libSystem/Makefile @@ -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,27 +28,23 @@ include ${TESTROOT}/include/common.makefile # the mechanism for 10.4 and 10.5 is different # -run: all - ./main-10.4 - ./main-10.5 - ./main-10.4.stripped - ./main-10.5.stripped -all: main-10.4 main-10.5 main-10.4.stripped main-10.5.stripped +all-check: all check -main-10.4: main.c - ${CC} ${CCFLAGS} -I${TESTROOT}/include -o main-10.4 main.c -mmacosx-version-min=10.4 +check: + ./main + ./main.stripped -main-10.4.stripped: main-10.4 - strip main-10.4 -o main-10.4.stripped - -main-10.5: main.c - ${CC} ${CCFLAGS} -I${TESTROOT}/include -o main-10.5 main.c -mmacosx-version-min=10.5 +all: main main.stripped -main-10.5.stripped: main-10.5 - strip main-10.5 -o main-10.5.stripped + +main: main.c + ${CC} ${CCFLAGS} -I${TESTROOT}/include $(CRTLIB) -o main main.c + +main.stripped: main + ${STRIP} main -o main.stripped clean: - ${RM} ${RMFLAGS} *~ main-10.4 main-10.5 main-10.4.stripped main-10.5.stripped + ${RM} ${RMFLAGS} *~ main main.stripped