7
mirror of https://github.com/system76/thelio-io-hardware.git synced 2025-04-09 07:40:08 +00:00

Simplify makefile

This commit is contained in:
Jeremy Soller 2018-11-02 11:04:42 -06:00
parent ff7cf6b19f
commit e428415045
No known key found for this signature in database
GPG Key ID: E988B49EE78A7FB1

View File

@ -10,37 +10,26 @@ SRC=\
sch/*.sch \
script/*
PLOT=\
build/thelio-io-CuBottom.gbr \
build/thelio-io-MaskBottom.gbr \
build/thelio-io-PasteBottom.gbr \
build/thelio-io-SilkBottom.gbr \
build/thelio-io-CuTop.gbr \
build/thelio-io-MaskTop.gbr \
build/thelio-io-PasteTop.gbr \
build/thelio-io-SilkTop.gbr \
build/thelio-io-EdgeCuts.gbr \
build/thelio-io-GND.Cu.gbr \
build/thelio-io-PWR.Cu.gbr \
build/thelio-io-PTH.drl \
build/thelio-io-NPTH.drl \
build/thelio-io-sas-CuBottom.gbr \
build/thelio-io-sas-MaskBottom.gbr \
build/thelio-io-sas-PasteBottom.gbr \
build/thelio-io-sas-SilkBottom.gbr \
build/thelio-io-sas-CuTop.gbr \
build/thelio-io-sas-MaskTop.gbr \
build/thelio-io-sas-PasteTop.gbr \
build/thelio-io-sas-SilkTop.gbr \
build/thelio-io-sas-EdgeCuts.gbr \
build/thelio-io-sas-GND.Cu.gbr \
build/thelio-io-sas-PWR.Cu.gbr \
build/thelio-io-sas-PTH.drl \
build/thelio-io-sas-NPTH.drl
PROJECTS=\
thelio-io \
thelio-io-sas
STEP=\
build/thelio-io.step \
build/thelio-io-sas.step
PLOT=\
$(addprefix build/,$(addsuffix -CuBottom.gbr,$(PROJECTS))) \
$(addprefix build/,$(addsuffix -MaskBottom.gbr,$(PROJECTS))) \
$(addprefix build/,$(addsuffix -PasteBottom.gbr,$(PROJECTS))) \
$(addprefix build/,$(addsuffix -SilkBottom.gbr,$(PROJECTS))) \
$(addprefix build/,$(addsuffix -CuTop.gbr,$(PROJECTS))) \
$(addprefix build/,$(addsuffix -MaskTop.gbr,$(PROJECTS))) \
$(addprefix build/,$(addsuffix -PasteTop.gbr,$(PROJECTS))) \
$(addprefix build/,$(addsuffix -SilkTop.gbr,$(PROJECTS))) \
$(addprefix build/,$(addsuffix -EdgeCuts.gbr,$(PROJECTS))) \
$(addprefix build/,$(addsuffix -GND.Cu.gbr,$(PROJECTS))) \
$(addprefix build/,$(addsuffix -PWR.Cu.gbr,$(PROJECTS))) \
$(addprefix build/,$(addsuffix -PTH.drl,$(PROJECTS))) \
$(addprefix build/,$(addsuffix -NPTH.drl,$(PROJECTS)))
STEP=$(addprefix build/,$(addsuffix .step,$(PROJECTS)))
.PHONY: all plot step clean