1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-05 04:38:26 +02:00

makefiles/Makefile.kicad: use variable TOP instead of hard-coding ../../ path

This allows inclusion also in places that don't follow the <project>/dir/
convention. Note that we still need a single directory under which all Qi
project directories are located.
This commit is contained in:
Werner Almesberger 2012-11-11 09:30:25 -03:00
parent 155886ddcb
commit 269b78f23f

View File

@ -17,14 +17,17 @@
# VERSION "release" version number
#
ifndef TOP
TOP = ../..
endif
PLOT_BRD = pcbnew --plot=ps --plot-fill-all-zones
CPTX = ../../eda-tools/mlztx/cptx
GMERGE = ../../eda-tools/fab/gmerge
DRL2GERBER = ../../eda-tools/fab/drl2gerber
PRETTYGERBV = ../../eda-tools/fab/prettygerbv
POS2FAB = ../../eda-tools/fab/pos2fab
FPDOC = PATH=$$PATH:../../eda-tools/fab:../../eda-tools/fpd2pdf fpdoc
CPTX = $(TOP)/eda-tools/mlztx/cptx
GMERGE = $(TOP)/eda-tools/fab/gmerge
DRL2GERBER = $(TOP)/eda-tools/fab/drl2gerber
PRETTYGERBV = $(TOP)/eda-tools/fab/prettygerbv
POS2FAB = $(TOP)/eda-tools/fab/pos2fab
FPDOC = PATH=$$PATH:$(TOP)/eda-tools/fab:$(TOP)/eda-tools/fpd2pdf fpdoc
DIR = $(shell pwd | sed 's|.*/||')