Makefile: error out if ./configure wasn't executed before the 'all' target.
This commit is contained in:
parent
bdcdb9f1a0
commit
b3da4a2bf2
4
Makefile
4
Makefile
@ -12,6 +12,10 @@ endif
|
|||||||
|
|
||||||
.PHONY: all
|
.PHONY: all
|
||||||
all:
|
all:
|
||||||
|
@if test ! -e config.h; then \
|
||||||
|
echo "You didn't run ./configure ... exiting."; \
|
||||||
|
exit 1; \
|
||||||
|
fi
|
||||||
@for dir in $(SUBDIRS); do \
|
@for dir in $(SUBDIRS); do \
|
||||||
$(MAKE) -C $$dir || exit 1; \
|
$(MAKE) -C $$dir || exit 1; \
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user