summaryrefslogtreecommitdiffstats
path: root/tests/Makefile
blob: fe5b9cdcd522325722b277d8e7ec7d6e557976cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
LIBASS=	../client/libnast.a

tclients: getnast statnast stressnast randnast mtstressnast updnast	\
	  killnast

GETOBJS= getnast.o
getnast: ${GETOBJS}
	${PURIFY} ${CC} -o $@ ${GETOBJS} ${LIBASS} ${LIBS}

STATOBJS= statnast.o
statnast: ${STATOBJS}
	${PURIFY} ${CC} -o $@ ${STATOBJS} ${LIBASS} ${LIBS}

STRESSOBJS= stressnast.o
stressnast: ${STRESSOBJS}
	${PURIFY} ${CC} -o $@ ${STRESSOBJS} ${LIBASS} ${LIBS}

RANDOBJS= randnast.o
randnast: ${RANDOBJS}
	${PURIFY} ${CC} -o $@ ${RANDOBJS} ${LIBASS} ${LIBS}

MTSTRESSOBJS= mtstressnast.o
mtstressnast: ${MTSTRESSOBJS}
	${PURIFY} ${CC} -o $@ ${MTSTRESSOBJS} ${LIBASS} ${LIBS}

UPDOBJS= updnast.o
updnast: ${UPDOBJS}
	${PURIFY} ${CC} -o $@ ${UPDOBJS} ${LIBASS} ${LIBS}

KILLOBJS= killnast.o
killnast: ${KILLOBJS}
	${PURIFY} ${CC} -o $@ ${KILLOBJS} ${LIBASS} ${LIBS}

#
# Dependencies
#
getnast.o:	../include/nastd.h
statnast.o:	../include/nastd.h
stressnast.o:	../include/nastd.h
randnast.o:	../include/nastd.h
mtstressnast.o:	../include/nastd.h

MKDIR=	../Makefiles
include ${MKDIR}/build