1# Debug programs Makefile 2 3TARGETS= buserr revoke fdpassing posixlock seekbench umtx vmpageinfo 4TARGETS+= wildcardinfo kmapinfo kwrite kshowprocs mbufinfo ncptrace 5TARGETS+= vnodeinfo zallocinfo evfilt_user bufqueues testvblank 6 7CFLAGS= -O0 -Wall -g -I../../sys -I../../sys/dev/drm/include 8LDFLAGS= -lkvm -lpthread 9 10all: ${TARGETS} 11 12.for EACH in ${TARGETS} 13 14${EACH}: 15 ${CC} ${CFLAGS} ${EACH}.c ${LDFLAGS} -o /tmp/${EACH} 16 17.endfor 18 19clean: 20.for EACH in ${TARGETS} 21 rm -f /tmp/${EACH} 22.endfor 23