]> git.saurik.com Git - apple/dyld.git/blob - unit-tests/include/common.makefile
dyld-132.13.tar.gz
[apple/dyld.git] / unit-tests / include / common.makefile
1 # stuff to include in every test Makefile
2
3 SHELL = /bin/sh
4
5 # set default to be host
6 ARCH ?= $(shell arch)
7
8 # set default to be all
9 VALID_ARCHS ?= "ppc i386 x86_64"
10
11 CC = gcc-4.2 -arch ${ARCH}
12 CCFLAGS = -Wall -std=c99
13
14 CXX = g++-4.2 -arch ${ARCH}
15 CXXFLAGS = -Wall
16
17 RM = rm
18 RMFLAGS = -rf
19
20 SAFE_RUN = ${TESTROOT}/bin/fail-if-non-zero.pl
21 PASS_IFF = ${TESTROOT}/bin/pass-iff-exit-zero.pl
22