xref: /aosp_15_r20/external/wmediumd/Makefile (revision 621120a22a0cd8ba80b131fe8bcb37c86ff453e3)
1SHELL=/bin/sh
2MAKE = make
3SUBDIRS ?= wmediumd
4BIN = wmediumd/wmediumd
5PREFIX ?= /usr
6BINDIR ?= /bin
7
8all:
9
10	@for i in $(SUBDIRS); do \
11	echo "make all in $$i..."; \
12	(cd $$i; $(MAKE) all); done
13
14clean:
15
16	@for i in $(SUBDIRS); do \
17	echo "Clearing in $$i..."; \
18	(cd $$i; $(MAKE) clean); done
19
20install: all
21	install -Dm 0755 $(BIN) $(DESTDIR)$(PREFIX)$(BINDIR)
22