Commit 67a04a10 authored by raburton's avatar raburton

make the top level makefile a little neater

parent d3c6241a
MAKE = make -f makefile.gtk
KICAD_SUBDIRS = common 3d-viewer eeschema eeschema/plugins pcbnew cvpcb kicad gerbview
KICAD_SUBDIRS_BIN = eeschema eeschema/plugins pcbnew cvpcb kicad gerbview
# How to invoke make:
MAKE = make -k -f makefile.gtk
MAKE_INSTALL = make -f makefile.gtk install
MAKE_CLEAN = make -f makefile.gtk clean
all:
@for d in $(KICAD_SUBDIRS); do (cd $$d && $(MAKE)); done
@for dir in $(KICAD_SUBDIRS); do \
$(MAKE) -C $$dir; \
done
install:
@for d in $(KICAD_SUBDIRS_BIN); do (cd $$d && $(MAKE_INSTALL)); done
@for dir in $(KICAD_SUBDIRS_BIN); do \
$(MAKE) -C $$dir install; \
done
clean:
@for d in $(KICAD_SUBDIRS); do (cd $$d && $(MAKE_CLEAN)); done
@for dir in $(KICAD_SUBDIRS); do \
$(MAKE) -C $$dir clean; \
done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment