diff --git a/dns/GNUmakefile b/dns/GNUmakefile index 84b7159..1ad5eb3 100644 --- a/dns/GNUmakefile +++ b/dns/GNUmakefile @@ -12,10 +12,10 @@ install: \ clean: - rm -f *.bak *.o core gethostbyname + rm -f *.bak *.o core gethostbyaddr gethostbyname fqdn check distclean: clean - rm -f *.d + rm -f *.d GNUmakevars GNUmakerules cfg/%: $(MAKE) -C cfg all diff --git a/dns/cfg/GNUmakefile b/dns/cfg/GNUmakefile index f925f23..642ef5a 100644 --- a/dns/cfg/GNUmakefile +++ b/dns/cfg/GNUmakefile @@ -2,3 +2,6 @@ all: have_hstrerror.h %.h: %.sh CC='$(CC)' CFLAGS='$(CFLAGS)' LDFLAGS='$(LDFLAGS)' sh $^ > $@ + +clean: + rm *.h