should at least move the schematic version assertion from 1.9 to 2.0!
[hw/telemetrum] / Makefile
index ef83c11c6647899c01d9849054f45c8c6fe853f2..479cd3b03f2cce76fe0b40547ee9f0eb218287e7 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,22 +1,13 @@
-# intentionally want to rebuild drc and bom on every invocation
-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.unsorted beacon.sch
-       head -n1 beacon.unsorted > beacon.bom
-       tail -n+2 beacon.unsorted | sort >> beacon.bom
-       rm -f beacon.unsorted
+# number of PCB layers
+LAYERS=4
 
-pcb:   beacon.sch project
-       gsch2pcb project
+# sides with silkscreen, can be none|top|bottom|both
+SILK=both
 
-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 *.new.pcb *.unsorted
+include ../altusmetrum/pcb.mk