.PHONY:


SCH=$(shell ls sch/*sch)


# i broke the makefile, (jelle)
# http://www.gnu.org/software/m4/manual/html_node/Patsubst.html
drc: $(patsubst %.sch,drc/%.drc,$(SCH))


drc/%.drc:	%.sch
	gnetlist -g drc2 -o $@ $^
