blob: 9916a4c085f875041ab658d7d90dbe3d569ef30f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# -*- make -*-
# FILE: "/home/evmik/eagle/PID_servo/Makefile"
# LAST MODIFICATION: "Tue, 24 Jun 2014 18:28:44 -0400 (evmik)"
# (C) 2007 by Eugeniy Mikhailov, <evmik@ligo.mit.edu>
# $Id:$
#bpd.brd
#bpd.sch
#bpd.pro
dname = $(shell basename `pwd`)
zip_fname = $(dname).zip
zip_gerber_fname = $(dname)_gerber.zip
clean: clean_tmp
clean_tmp:
rm -f '*.$$$$$$'
rm -f *.b#*
rm -f *.s#*
# rm -f *.pro
real_clean:
rm -f *.bot
# rm -f *.pro
rm -f *.cmp
rm -f *.drd
rm -f *.dri
rm -f *.drl
rm -f *.erc
rm -f *.gpi
rm -f *.oln
rm -f *.plc
rm -f *.sol
rm -f *.stc
rm -f *.sts
rm -f *.top
rm -f *.whl
rm -f $(zip_fname)
zip: real_clean
zip $(zip_fname) gerber/* * -x \*.pdf
zip_gerber:
zip $(zip_gerber_fname) gerber/* -x \*.pdf
|