diff --git a/lib/libelf/Makefile b/lib/libelf/Makefile index 5825df13cafc..ee968124dac0 100644 --- a/lib/libelf/Makefile +++ b/lib/libelf/Makefile @@ -65,6 +65,7 @@ SRCS+= sys/elf32.h sys/elf64.h sys/elf_common.h GENSRCS= libelf_fsize.c libelf_msize.c libelf_convert.c CLEANFILES= ${GENSRCS} +CLEANDIRS= sys CFLAGS+= -I${.CURDIR} -I. sys/elf32.h sys/elf64.h sys/elf_common.h: sys