2 # $DragonFly: src/test/cpuperf/Makefile,v 1.1 2004/02/09 18:08:54 dillon Exp $
5 .PATH: ${.CURDIR}/../sysperf
6 TARGETS=/tmp/cpu_add /tmp/cpu_cmpadd /tmp/cpu_cmpexg /tmp/cpu_lcmpexg \
9 CFLAGS= -O2 -g -I../sysperf
13 /tmp/cpu_add: cputest.c cpu_add.S blib.c
14 $(CC) $(CFLAGS) ${.ALLSRC} -o ${.TARGET}
16 /tmp/cpu_cmpadd: cputest.c cpu_cmpadd.S blib.c
17 $(CC) $(CFLAGS) ${.ALLSRC} -o ${.TARGET}
19 /tmp/cpu_cmpexg: cputest.c cpu_cmpexg.S blib.c
20 $(CC) $(CFLAGS) ${.ALLSRC} -o ${.TARGET}
22 /tmp/cpu_lcmpexg: cputest.c cpu_lcmpexg.S blib.c
23 $(CC) $(CFLAGS) ${.ALLSRC} -o ${.TARGET}
25 /tmp/cpu_call: cputest.c cpu_call.S blib.c
26 $(CC) $(CFLAGS) ${.ALLSRC} -o ${.TARGET}