move to preferred parts database
[hw/telemetrum] / Makefile
index 44aa7ed0dd478822fdfc6b5dfaf7ed9f3619be5f..30650f3901221747981b5a25d102ff0e45813357 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,18 +1,13 @@
-all:   drc bom
+# name of project, also used for PCB file
+PROJECT=telemetrum
 
-drc:   beacon.sch
-       -gnetlist -g drc2 beacon.sch -o beacon.drc
+# list of schematic files that make up this design
+SCHEMATICS=telemetrum.sch
 
-bom:   beacon.sch
-       gnetlist -g bom -o beacon.bom beacon.sch
+# number of PCB layers
+LAYERS=4
 
-pcb:   beacon.sch project
-       gsch2pcb project
+# sides with silkscreen, can be none|top|bottom|both
+SILK=top
 
-zip:   beacon.plated-drill.cnc beacon.back.gbr beacon.front.gbr beacon.fab.gbr
-       zip beacon.zip beacon.plated-drill.cnc beacon.back.gbr beacon.front.gbr beacon.fab.gbr
-
-clean:
-       rm -f *.bom *.drc *.log *~ beacon.ps *.gbr *.cnc *bak* *- *.zip 
-       rm -f *.net *.xy *.cmd
-       rm -f *.partslist
+include ../altusmetrum/pcb.mk