mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-13 21:21:53 +01:00
26 lines
502 B
Makefile
26 lines
502 B
Makefile
|
WUT_ROOT := $(CURDIR)/..
|
||
|
TARGETS := libcoreinit libgx2
|
||
|
|
||
|
all:
|
||
|
@for dir in $(TARGETS); do \
|
||
|
echo; \
|
||
|
echo Entering Directory $$dir; \
|
||
|
$(MAKE) --no-print-directory -C $$dir; \
|
||
|
echo Leaving Directory $$dir; \
|
||
|
done
|
||
|
|
||
|
clean:
|
||
|
@for dir in $(TARGETS); do \
|
||
|
echo Cleaning $$dir; \
|
||
|
$(MAKE) --no-print-directory -C $$dir clean; \
|
||
|
done
|
||
|
|
||
|
install: all
|
||
|
@mkdir -p $(WUT_ROOT)/lib
|
||
|
@for dir in $(TARGETS); do \
|
||
|
echo Installing $$dir; \
|
||
|
cp $$dir/*.a $(WUT_ROOT)/lib; \
|
||
|
done
|
||
|
|
||
|
.PHONY: all install clean
|