Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (8 sloc) 213 Bytes
SHELL := /bin/bash
define dm_packets
PACKETS := $(basename $(notdir $(wildcard $(DM_PACKETS_DIR)/*.sh)))
ALL: $$(PACKETS)
$$(PACKETS):
@source $(DM_DIR)/lib.sh && dm_build $$@ $$^
.PHONY: ALL $$(PACKETS)
endef