mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-12-23 10:06:27 +02:00
atusb: added "clean" targets to main and CAM makefile
- Makefile: added "clean" target - cam2/Makefile: added "clean" target (for file generated in cam2/) - cam2/mkmk: added "clean" target to generated makefile
This commit is contained in:
parent
a0b064bd79
commit
3385afca0d
@ -1,7 +1,7 @@
|
||||
.PHONY: all gen generate sch brd xpdf front back
|
||||
.PHONY: all gen generate sch brd xpdf front back clean
|
||||
|
||||
all:
|
||||
@echo "make what ? target: gen sch brd xpdf front back"
|
||||
@echo "make what ? target: gen sch brd xpdf front back clean"
|
||||
@exit 1
|
||||
|
||||
gen generate:
|
||||
@ -42,3 +42,7 @@ atusb-Front.ps: atusb.brd
|
||||
|
||||
atusb-Back.ps: atusb.brd
|
||||
pcbnew -p=ps_a4 -l Back --ps-pads-drill-opt=none $<
|
||||
|
||||
clean:
|
||||
rm -f atusb-Front.ps atusb-Back.ps
|
||||
rm -f atusb.drl atusb-PCB_Edges.gbr
|
||||
|
@ -1,4 +1,4 @@
|
||||
.PHONY: all
|
||||
.PHONY: all clean
|
||||
|
||||
all: Makefile.mkmk
|
||||
|
||||
@ -12,3 +12,6 @@ Makefile.mkmk: mkmk ../atusb.drl ../atusb-PCB_Edges.gbr
|
||||
pcbnew --plot=gerber -l PCB_Edges `pwd`/../atusb.brd
|
||||
|
||||
-include Makefile.mkmk
|
||||
|
||||
clean::
|
||||
rm -f Makefile.mkmk
|
||||
|
@ -60,4 +60,7 @@ plot:
|
||||
dplot:
|
||||
echo 'plot "< sed /^\$\$/d drill.gp" with linespoints' | \
|
||||
gnuplot -persist
|
||||
|
||||
clean::
|
||||
rm -f mill.gp mill.rml drill.gp drill.rml
|
||||
EOF
|
||||
|
Loading…
Reference in New Issue
Block a user