PrawnOS-nonfree/packages/makefile

23 lines
443 B
Makefile
Raw Normal View History

2020-06-13 03:23:04 +02:00
PRAWNOS_ROOT := $(shell git rev-parse --show-toplevel)
include $(PRAWNOS_ROOT)/scripts/BuildScripts/BuildCommon.mk
2020-06-13 03:23:04 +02:00
2020-05-28 03:46:59 +02:00
SUBDIRS = $(shell ls -d */)
all:
2020-05-28 19:06:52 +02:00
for dir in $(SUBDIRS) ; do \
make -C $$dir ; \
done
2020-05-28 03:46:59 +02:00
clean:
2020-05-28 19:06:52 +02:00
for dir in $(SUBDIRS) ; do \
make clean -C $$dir ; \
2020-06-13 03:23:04 +02:00
done
2020-06-14 21:07:29 +02:00
install:
$(info packages install target is $(INSTALL_TARGET))
2020-06-14 21:07:29 +02:00
for dir in $(SUBDIRS) ; do \
make install INSTALL_TARGET=$(INSTALL_TARGET) -C $$dir ; \
done