FreeBSD's make sucks big time: It doesn't honor the -C flag. Hence we

have to change into the target directory before calling make.
This commit is contained in:
Peter Simons 2000-12-14 15:35:11 +00:00
parent 3362ed9a9b
commit c79aeb2b08

View File

@ -46,10 +46,10 @@ acl_scan.c: acl_scan.l acl_scan.h
acl.c: acl_scan.c acl.c: acl_scan.c
$(LIBS): $(LIBS):
$(MAKE) -C `echo $@ | sed -e 's@/.*@@'` (cd `echo $@ | sed -e 's@/.*@@'` && $(MAKE))
clean distclean realclean:: clean distclean realclean::
@for n in lib*; do $(MAKE) -C $$n $@; done @for n in lib*; do (cd $$n && $(MAKE) $@); done
clean:: clean::
rm -f petidomo listserv hermes rm -f petidomo listserv hermes