]>
Commit | Line | Data |
---|---|---|
57c72a9a A |
1 | DIR = tests |
2 | include ../MakePaths.dir | |
14c7c974 | 3 | |
57c72a9a A |
4 | CFLAGS = $(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 | |
8 | TESTS= satest | |
9 | LIBSA= $(SYMROOT)/libsa.a | |
10 | LIBSADIR = ../libsa | |
11 | INC = -I. -I.. -I$(SYMROOT) -I$(LIBSADIR) | |
12 | ||
13 | OBJROOT=../../obj/i386 | |
14 | SYMROOT=../../sym/i386 | |
15 | DSTROOT=../../dst/i386 | |
16 | SRCROOT=/tmp | |
17 | VPATH=$(SYMROOT):$(OBJROOT) | |
14c7c974 | 18 | |
57c72a9a | 19 | DIRS_NEEDED = $(OBJROOT) $(SYMROOT) |
14c7c974 | 20 | |
57c72a9a | 21 | all: $(TESTS) |
14c7c974 A |
22 | |
23 | satest: 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 | ||
26 | include ../MakeInc.dir |