X-Git-Url: https://git.saurik.com/apple/dyld.git/blobdiff_plain/39a8cd101b922f08058746122efff58c14b57605..04b5575d8fc9b95f96f2a621169e45d995ee8a41:/unit-tests/test-cases/bundle-memory-load-fat/Makefile?ds=sidebyside diff --git a/unit-tests/test-cases/bundle-memory-load-fat/Makefile b/unit-tests/test-cases/bundle-memory-load-fat/Makefile index 687eea6..00641d0 100644 --- a/unit-tests/test-cases/bundle-memory-load-fat/Makefile +++ b/unit-tests/test-cases/bundle-memory-load-fat/Makefile @@ -1,5 +1,5 @@ ## -# Copyright (c) 2005 Apple Computer, Inc. All rights reserved. +# Copyright (c) 2005-2011 Apple Inc. All rights reserved. # # @APPLE_LICENSE_HEADER_START@ # @@ -23,7 +23,7 @@ TESTROOT = ../.. include ${TESTROOT}/include/common.makefile -FATFLAGS = `lipo -detailed_info /usr/lib/libSystem.B.dylib | grep architecture | sed -e 's/architecture/-arch/'` +FATFLAGS = $(shell ${LIPO} -detailed_info $(IOSROOT)/usr/lib/libSystem.B.dylib | grep architecture | sed -e 's/architecture/-arch/') all-check: all check @@ -36,7 +36,9 @@ main : main.c ${CC} ${CCFLAGS} -Wno-deprecated-declarations -I${TESTROOT}/include -o main main.c test.bundle : bundle.c - gcc ${FATFLAGS} -bundle -o test.bundle bundle.c + echo ${IOSROOT} + echo $(IOSROOT) + ${CC} ${FATFLAGS} -bundle -o test.bundle bundle.c clean: ${RM} ${RMFLAGS} *~ main test.bundle