X-Git-Url: https://git.saurik.com/apple/dyld.git/blobdiff_plain/9e225d036f7ada46c87f40647ed12d4c406f502f..2fd3f4e8fd2c2f2c7d149fbea471d8b3fb56f15a:/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 01eab8b..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,17 +23,21 @@ 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/') -run: all +all-check: all check + +check: ./main all: main test.bundle main : main.c - ${CC} ${CCFLAGS} -I${TESTROOT}/include -o main main.c + ${CC} ${CCFLAGS} -Wno-deprecated-declarations -I${TESTROOT}/include -o main main.c test.bundle : bundle.c + echo ${IOSROOT} + echo $(IOSROOT) ${CC} ${FATFLAGS} -bundle -o test.bundle bundle.c clean: