2016-08-19 01:35:46 +02:00
|
|
|
TARGETS := libcoreinit libgx2 libnsysnet libvpad libproc_ui libsndcore2 libsysapp
|
2015-12-27 03:10:38 +01:00
|
|
|
|
|
|
|
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
|
2016-08-25 13:04:51 +02:00
|
|
|
@mkdir -p $(INSTALLDIR)/lib
|
2015-12-27 03:10:38 +01:00
|
|
|
@for dir in $(TARGETS); do \
|
|
|
|
echo Installing $$dir; \
|
2016-08-25 13:04:51 +02:00
|
|
|
cp $$dir/*.a $(INSTALLDIR)/lib; \
|
2015-12-27 03:10:38 +01:00
|
|
|
done
|
|
|
|
|
|
|
|
.PHONY: all install clean
|