Werner's Miscellanea
Sign in or create your account | Project List | Help
Werner's Miscellanea Git Source Tree
Root/
Source at commit b5f61138baed4e5ad8e3d6588d5f75eafbac2a67 created 8 years 5 months ago. By Werner Almesberger, added openness schievements; more small updates | |
---|---|
1 | SHELL=/bin/bash |
2 | |
3 | DL=USB.png |
4 | GEN=schhist.png fped.png kicad.png achieve.pdf |
5 | PNG=atusb-front.png |
6 | |
7 | .PHONY: spotless clean |
8 | |
9 | all: $(GEN) $(DL) $(PNG) |
10 | pdflatex talk |
11 | xpdf talk.pdf |
12 | |
13 | kicad.png: eeschema.xwd pcbnew.xwd |
14 | pnmcomp -xoff=0 -yoff=300 \ |
15 | <(convert eeschema.xwd ppm:-) \ |
16 | <(convert pcbnew.xwd ppm:- | \ |
17 | pnmpad -white -left=900 -bottom=300) | \ |
18 | convert - $@ |
19 | |
20 | schhist.png: schhist.xwd |
21 | convert $< $@ |
22 | |
23 | fped.png: fped.xwd |
24 | convert $< $@ |
25 | |
26 | USB.png: |
27 | wget http://projects.qi-hardware.com/schhist/atusb/847b3546d90d7271690bcd17014cf2cae9482538/diff/USB.png |
28 | |
29 | achieve.pdf: achieve.fig |
30 | fig2dev -L pdf $< $@ |
31 | |
32 | spotless: |
33 | rm -f $(DL) |
34 | |
35 | clean: |
36 | rm -f $(GEN) |
37 |
Branches:
master