# -*- make -*- CLEAN_TARGETS += clean_pdf_curcuit_targets REAL_CLEAN_TARGETS += real_clean_pdf_curcuit_targets destination_dirs += $(pics_destdir) curcuit_sourses = $(wildcard *.ps) pdf_curcuit = $(curcuit_sourses:%.ps=$(pics_destdir)/%.pdf) copy_pdf_compatible_files: $(pdf_curcuit) $(pdf_curcuit): $(pics_destdir)/%.pdf : %.ps | $(pics_destdir) epstopdf --outfile=$@ $< clean_pdf_curcuit_targets: real_clean_pdf_curcuit_targets: ifneq ($(strip $(pdf_curcuit)),) rm -f $(pdf_curcuit) endif