5 ######################################
9 all: subdirs
$(TARGETS
)
11 clean: subdirs-clean _clean
13 realclean: subdirs-realclean _realclean
15 depend
: subdirs-depend _depend
31 install: subdirs-install _install
39 ######################################
42 $(CC
) $(CFLAGS
) -c
$< -o
$@
47 rm -f core
$(DEPEND_FILE
) $(OBJS
)
64 ######################################
67 set
-e
; for i in
$(SUBDIRS
); do
$(MAKE
) -C
$$i; done
70 set
-e
; for i in
$(SUBDIRS
); do
$(MAKE
) -C
$$i depend
; done
73 set
-e
; for i in
$(SUBDIRS
); do
$(MAKE
) -C
$$i clean; done
76 set
-e
; for i in
$(SUBDIRS
); do
$(MAKE
) -C
$$i realclean; done
79 set
-e
; for i in
$(INSTALL_SUBDIRS
); do
$(MAKE
) -C
$$i install; done
81 ######################################
83 ifeq ($(DEPEND_FILE
),$(wildcard $(DEPEND_FILE
)))
84 include $(DEPEND_FILE
)