fix a silly bug in del() where it was clearing the whole table
[hashtab.git] / Makefile
blobab6dacf9699e7eda5f8636f8f1daa68af63010b1
1 LIB= hashtab
2 SRCS= hashtab.c
3 HDRS= hashtab.h
4 SHLIB_MAJOR= 0
5 SHLIB_MINOR= 1
6 #MAN= hashtab.3
7 #MLINKS= hashtab.3 hashtab_init.3 \
8 # hashtab.3 hashtab_put.3 \
9 # hashtab.3 hashtab_get.3 \
10 # hashtab.3 hashtab_del.3 \
11 # hashtab.3 hashtab_first.3 \
12 # hashtab.3 hashtab_next.3 \
13 # hashtab.3 hashtab_at.3
15 CFLAGS+= -Wall -Werror
16 COPTS+= -g
19 includes:
20 @cd ${.CURDIR}; for i in $(HDRS); do \
21 j="cmp -s $$i ${DESTDIR}/usr/include/$$i || \
22 ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} \
23 -m 444 $$i ${DESTDIR}/usr/include"; \
24 echo $$j; \
25 eval "$$j"; \
26 done
28 .include <bsd.lib.mk>