a set of rules for OPNsense and PFsense firewalls
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

12 lines
246 B

LISTFILES := $(shell find . -name "*.list")
DESTFILES = $(foreach f, $(LISTFILES), $(f).resolved)
RESOLVER := $(PWD)/resolve.sh
${DESTFILES}: %.list.resolved:%.list
@echo Resolving file: $@
@$(RESOLVER) $^
.PHONY: all
all: $(DESTFILES)