.PHONY: clean

# TODO: Simplify command
# "In your case pp -c -o rdfpuml.exe -I lib rdfpuml.pl does the trick"
# https://github.com/rschupp/PAR-Packer/issues/88#issuecomment-2027435765
SHAREDIR := $(shell perl -MFile::ShareDir=dist_dir -e "print dist_dir('AtteanX-Store-DBI')")

rdfpuml.exe: rdfpuml.pl AtteanPack.pm
	perl -Mpp -e "pp->go" -- -o $@ -I . -M AtteanPack -a ../lib/RDF/Prefixes -a "$(SHAREDIR)" rdfpuml.pl

clean:
	rm rdfpuml.exe
