+++ /dev/null
-v 20111231 2
-C 40000 40000 0 0 0 title-wa-85x110.sym
-{
-T 49900 40600 5 10 1 1 0 0 1
-date=---
-T 53700 40600 5 10 1 1 0 0 1
-rev=---
-T 53700 40300 5 10 1 1 0 0 1
-auth=DJW
-T 49900 40900 5 8 1 1 0 0 1
-fname=$Id: $
-T 49900 41300 5 14 1 1 0 0 1
-title=USB Quad I/O
-T 50600 40300 5 10 1 1 0 6 1
-pagenum=??
-T 52100 40300 5 10 1 1 0 6 1
-pageof=??
-}
-C 42800 43900 1 0 0 ft4232h_sys-1.sym
-{
-T 47700 49800 5 10 0 0 0 0 1
-footprint=LQFP-50P-1330L1-1330L2-64N__Philips
-T 45400 48100 5 10 1 1 0 3 1
-refdes=FTDI
-}
-C 48700 46800 1 0 0 m93cx6-1.sym
-{
-T 51400 49000 5 10 0 0 0 0 1
-footprint=SO8
-T 50200 48100 5 10 1 1 0 3 1
-refdes=U?
-T 50200 47300 5 10 1 1 0 3 1
-value=M93C66-W
-}
-N 48700 48300 48000 48300 4
-N 48700 47900 48000 47900 4
-N 48700 47500 48000 47500 4
--- /dev/null
+
+PROJ=usbio
+SCHEMATICS=$(wildcard $(PROJ)-*.sch)
+
+
+.PHONY: drc
+drc: $(PROJ).drc
+
+.PHONY: sch
+sch:
+ gschem $(SCHEMATICS) &
+
+
+.PHONY: renum
+renum: $(SCHEMATICS)
+ refdes_renum --gentle --pgskip 100 $(SCHEMATICS)
+
+
+$(PROJ).drc: $(SCHEMATICS)
+ gnetlist -g drc2 -o $@ $^
+ grep ^ERROR $@ && mv $@ $@.err
+
+
+clean:
+ rm -f *sch~
+
--- /dev/null
+../gafrc
\ No newline at end of file
--- /dev/null
+../gafrc-libraries
\ No newline at end of file
--- /dev/null
+../gschemrc
\ No newline at end of file
--- /dev/null
+v 20111231 2
+C 40000 40000 0 0 0 title-wa-85x110.sym
+{
+T 49900 40600 5 10 1 1 0 0 1
+date=---
+T 53700 40600 5 10 1 1 0 0 1
+rev=---
+T 53700 40300 5 10 1 1 0 0 1
+auth=DJW
+T 49900 40900 5 8 1 1 0 0 1
+fname=$Id: $
+T 49900 41300 5 14 1 1 0 0 1
+title=USB Quad I/O
+T 50600 40300 5 10 1 1 0 6 1
+pagenum=??
+T 52100 40300 5 10 1 1 0 6 1
+pageof=??
+}
+C 42800 43900 1 0 0 ft4232h_sys-1.sym
+{
+T 47700 49800 5 10 0 0 0 0 1
+footprint=LQFP-50P-1330L1-1330L2-64N__Philips
+T 45400 48100 5 10 1 1 0 3 1
+refdes=FTDI
+}
+C 48700 46800 1 0 0 m93cx6-1.sym
+{
+T 51400 49000 5 10 0 0 0 0 1
+footprint=SO8
+T 50200 48100 5 10 1 1 0 3 1
+refdes=U?
+T 50200 47300 5 10 1 1 0 3 1
+value=M93C66-W
+}
+N 48700 48300 48000 48300 4
+N 48700 47900 48000 47900 4
+N 48700 47500 48000 47500 4