blob: ff67257104acabb7a4754e1f62596f1863c94461 [file] [log] [blame]
SHELL=/bin/sh
MAKE = make
SUBDIRS ?= wmediumd
BIN = wmediumd/wmediumd
PREFIX ?= /usr
BINDIR ?= /bin
all:
@for i in $(SUBDIRS); do \
echo "make all in $$i..."; \
(cd $$i; $(MAKE) all); done
clean:
@for i in $(SUBDIRS); do \
echo "Clearing in $$i..."; \
(cd $$i; $(MAKE) clean); done
install: all
install -Dm 0755 $(BIN) $(DESTDIR)$(PREFIX)$(BINDIR)