]> git.saurik.com Git - apple/boot.git/blame - i386/tests/Makefile
boot-132.tar.gz
[apple/boot.git] / i386 / tests / Makefile
CommitLineData
57c72a9a
A
1DIR = tests
2include ../MakePaths.dir
14c7c974 3
57c72a9a
A
4CFLAGS = $(RC_CFLAGS) $(OPTIM) $(MORECPP) -arch i386 -g -Wmost -Werror \
5 -fno-builtin -DSAIO_INTERNAL_USER -static \
6 -fomit-frame-pointer -mpreferred-stack-boundary=2 \
7 -fno-align-functions
8TESTS= satest
9LIBSA= $(SYMROOT)/libsa.a
10LIBSADIR = ../libsa
11INC = -I. -I.. -I$(SYMROOT) -I$(LIBSADIR)
12
13OBJROOT=../../obj/i386
14SYMROOT=../../sym/i386
15DSTROOT=../../dst/i386
16SRCROOT=/tmp
17VPATH=$(SYMROOT):$(OBJROOT)
14c7c974 18
57c72a9a 19DIRS_NEEDED = $(OBJROOT) $(SYMROOT)
14c7c974 20
57c72a9a 21all: $(TESTS)
14c7c974
A
22
23satest: satest.o $(LIBSA)
57c72a9a
A
24 cc $(CFLAGS) -o satest $(filter %.o,$^) -L$(SYMROOT) -lsa -L/usr/local/lib/system -lc_static -lgcc_static
25
26include ../MakeInc.dir