build - Update pkg-static to version 04
[dragonfly.git] / test / pcpu / Makefile
1 DESTDIR=        /usr/local/bin
2 TARGETS=        ${DESTDIR}/ncache-stats ${DESTDIR}/cpustat
3
4 CFLAGS=         -O -g -I/usr/src/sys
5
6 all:    ${TARGETS}
7
8 ${DESTDIR}/ncache-stats: ncache-stats.c
9         ${CC} ${CFLAGS} ${.ALLSRC} -lkvm -o ${.TARGET}
10
11 ${DESTDIR}/cpustat: cpustat.c
12         ${CC} ${CFLAGS} ${.ALLSRC} -lkinfo -o ${.TARGET}
13
14 clean:
15         rm -f ${TARGETS}