2fb5d15ce3
variable (defaults to "make") and use that. Use the MKDEP and MKDEP_OPTIONS more. Our shell isn't bash, so change the instances of ">& /dev/null" to a more compatible "> /dev/null 2>&1".
21 lines
265 B
Makefile
21 lines
265 B
Makefile
# src/glu/Makefile
|
|
|
|
TOP = ../..
|
|
|
|
include $(TOP)/configs/current
|
|
|
|
|
|
SUBDIRS = $(GLU_DIRS)
|
|
|
|
|
|
default: $(TOP)/configs/current
|
|
@for dir in $(SUBDIRS) ; do \
|
|
(cd $$dir ; $(MAKE)) ; \
|
|
done
|
|
|
|
|
|
clean:
|
|
@for dir in $(SUBDIRS) ; do \
|
|
(cd $$dir ; $(MAKE) clean) ; \
|
|
done
|