wut/Makefile
2016-01-04 05:46:52 -08:00

31 lines
560 B
Makefile

WUT_ROOT := $(CURDIR)
TARGETS := crt rpl tools
all:
@for dir in $(TARGETS); do \
echo; \
echo "Entering Directory $$dir"; \
$(MAKE) --no-print-directory -C $$dir; \
echo "Leaving Directory $$dir"; \
done
clean:
@rm -rf lib
@rm -rf bin
@for dir in $(TARGETS); do \
echo; \
echo Cleaning $$dir; \
$(MAKE) --no-print-directory -C $$dir clean; \
done
install:
@mkdir -p bin
@mkdir -p lib
@for dir in $(TARGETS); do \
echo; \
echo Installing $$dir; \
$(MAKE) --no-print-directory -C $$dir install; \
done
.PHONY: all clean install