3 CFLAGS
=-Os
-DHAVE_RULES
-Wall
-g
-Wextra
$(EXTRACFLAGS
)
6 INSTALL
=install -c
-m
644
7 INSTALL_BIN
=install -c
-m
755
11 .PHONY
: all clean dep
install install-recursive clean-recursive \
12 dep-recursive all-recursive
14 MAKEDEP
=-$(CC
) $(CFLAGS
) -MM
$(wildcard *.c
*.
cc) > .depend
20 @for i in
$(SUBDIRS
); do
$(MAKE
) -C
$$i dep
; done
24 clean: clean-recursive
25 $(RM
) $(wildcard *.o
*.so
*.a
$(BINS
)) .depend
27 @for i in
$(SUBDIRS
); do
$(MAKE
) -C
$$i clean; done
31 @for i in
$(SUBDIRS
); do
$(MAKE
) -C
$$i all; done
33 install: all install-recursive
35 @for i in
$(SUBDIRS
); do
$(MAKE
) -C
$$i install; done