Makefile for gEDA projects (gschem, pcb)
| SCHEMATICS=tom-alexandria-1.sch tom-alexandria-2.sch tom-alexandria-3.sch tom-alexandria-4.sch | |
| TARGET=tom-alexandria | |
| all: $(TARGET).drc | |
| gsch2pcb -o $(TARGET) $(SCHEMATICS) | |
| edit-schematic: | |
| gschem $(SCHEMATICS) | |
| clean: | |
| rm -f *.drc | |
| rm -f *.backup | |
| rm -f *.sch~ | |
| rm -f *.pcb- | |
| rm -f *.cmd | |
| rm -f *.net | |
| rm -f *.new.pcb | |
| rm -f *.png | |
| rm -f *.ps | |
| rm -f *.pcb.bak* | |
| $(TARGET).drc: $(SCHEMATICS) | |
| gnetlist -g drc2 $(SCHEMATICS) -o $(TARGET).drc || exit | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment