mirror of
https://github.com/pikvm/packages.git
synced 2026-10-24 07:39:20 +03:00
20 lines
327 B
Makefile
Executable File
20 lines
327 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
|
|
|
|
__UPDATABLE := $(addprefix __update__, \
|
|
$(subst \
|
|
/update.mk, \
|
|
, \
|
|
$(subst \
|
|
packages/, \
|
|
, \
|
|
$(wildcard packages/*/update.mk) \
|
|
) \
|
|
) \
|
|
)
|
|
|
|
update: $(__UPDATABLE)
|
|
|
|
$(__UPDATABLE):
|
|
$(MAKE) -C packages/$(subst __update__,,$@) -f update.mk update
|