.PHONY: all gen generate sch brd xpdf all: @echo "make what ? target: gen sch brd xpdf" @exit 1 gen generate: eeschema --plot `pwd`/c2usb.sch # need scripts sch: eeschema `pwd`/c2usb.sch brd: pcbnew `pwd`/c2usb.brd xpdf: xpdf c2usb.pdf