1# 2# $DragonFly: src/test/cpuperf/Makefile,v 1.2 2004/02/09 18:15:35 dillon Exp $ 3# 4 5.PATH: ${.CURDIR}/../sysperf 6TARGETS=/tmp/cpu_add /tmp/cpu_ladd /tmp/cpu_cmpadd /tmp/cpu_cmpexg \ 7 /tmp/cpu_lcmpexg /tmp/cpu_call 8 9CFLAGS= -O2 -g -I../sysperf 10 11all: $(TARGETS) 12 13/tmp/cpu_add: cputest.c cpu_add.S blib.c 14 $(CC) $(CFLAGS) ${.ALLSRC} -o ${.TARGET} 15 16/tmp/cpu_ladd: cputest.c cpu_ladd.S blib.c 17 $(CC) $(CFLAGS) ${.ALLSRC} -o ${.TARGET} 18 19/tmp/cpu_cmpadd: cputest.c cpu_cmpadd.S blib.c 20 $(CC) $(CFLAGS) ${.ALLSRC} -o ${.TARGET} 21 22/tmp/cpu_cmpexg: cputest.c cpu_cmpexg.S blib.c 23 $(CC) $(CFLAGS) ${.ALLSRC} -o ${.TARGET} 24 25/tmp/cpu_lcmpexg: cputest.c cpu_lcmpexg.S blib.c 26 $(CC) $(CFLAGS) ${.ALLSRC} -o ${.TARGET} 27 28/tmp/cpu_call: cputest.c cpu_call.S blib.c 29 $(CC) $(CFLAGS) ${.ALLSRC} -o ${.TARGET} 30 31clean: 32 rm -f $(TARGETS) 33