mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-13 21:51:53 +01:00
27 lines
502 B
Makefile
27 lines
502 B
Makefile
|
WUT_ROOT := $(CURDIR)
|
||
|
TARGETS := crt rpl
|
||
|
|
||
|
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
|
||
|
@for dir in $(TARGETS); do \
|
||
|
echo Cleaning $$dir; \
|
||
|
$(MAKE) --no-print-directory -C $$dir clean; \
|
||
|
done
|
||
|
|
||
|
install:
|
||
|
@mkdir -p lib
|
||
|
@for dir in $(TARGETS); do \
|
||
|
echo Installing $$dir; \
|
||
|
$(MAKE) --no-print-directory -C $$dir install; \
|
||
|
done
|
||
|
|
||
|
.PHONY: all clean install
|