Improve targets clean, distclean
This commit is contained in:
parent
9fa521b60c
commit
1bc6615651
|
@ -12,10 +12,10 @@ install: \
|
||||||
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f *.bak *.o core gethostbyname
|
rm -f *.bak *.o core gethostbyaddr gethostbyname fqdn check
|
||||||
|
|
||||||
distclean: clean
|
distclean: clean
|
||||||
rm -f *.d
|
rm -f *.d GNUmakevars GNUmakerules
|
||||||
|
|
||||||
cfg/%:
|
cfg/%:
|
||||||
$(MAKE) -C cfg all
|
$(MAKE) -C cfg all
|
||||||
|
|
|
@ -2,3 +2,6 @@ all: have_hstrerror.h
|
||||||
|
|
||||||
%.h: %.sh
|
%.h: %.sh
|
||||||
CC='$(CC)' CFLAGS='$(CFLAGS)' LDFLAGS='$(LDFLAGS)' sh $^ > $@
|
CC='$(CC)' CFLAGS='$(CFLAGS)' LDFLAGS='$(LDFLAGS)' sh $^ > $@
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm *.h
|
||||||
|
|
Loading…
Reference in New Issue