2007-06-14 16:28:05 +00:00
|
|
|
|
2007-06-16 09:07:23 +00:00
|
|
|
MAKEGTK = $(MAKE) -f makefile.gtk
|
2007-08-08 03:50:44 +00:00
|
|
|
KICAD_SUBDIRS = common 3d-viewer pcbnew eeschema eeschema/plugins cvpcb kicad gerbview
|
2007-06-16 09:07:23 +00:00
|
|
|
KICAD_SUBDIRS_BIN = eeschema eeschema/plugins pcbnew cvpcb kicad gerbview
|
2007-06-16 09:34:35 +00:00
|
|
|
KICAD_SUBDIRS_RES = internat modules template library
|
|
|
|
KICAD_SUBDIRS_HELP = help
|
2007-06-05 12:10:51 +00:00
|
|
|
|
2007-05-06 16:03:28 +00:00
|
|
|
all:
|
2007-06-13 13:01:44 +00:00
|
|
|
@for dir in $(KICAD_SUBDIRS); do \
|
2007-06-16 09:07:23 +00:00
|
|
|
$(MAKEGTK) -C $$dir; \
|
2007-06-13 13:01:44 +00:00
|
|
|
done
|
2007-05-06 16:03:28 +00:00
|
|
|
|
2007-06-16 09:07:23 +00:00
|
|
|
install-bin:
|
2007-06-13 13:01:44 +00:00
|
|
|
@for dir in $(KICAD_SUBDIRS_BIN); do \
|
2007-06-16 09:07:23 +00:00
|
|
|
$(MAKEGTK) -C $$dir install; \
|
2007-06-13 13:01:44 +00:00
|
|
|
done
|
2007-06-16 09:07:23 +00:00
|
|
|
|
2007-06-16 09:34:35 +00:00
|
|
|
install-res:
|
|
|
|
@for dir in $(KICAD_SUBDIRS_RES); do \
|
2007-06-16 09:07:23 +00:00
|
|
|
$(MAKE) -C $$dir install; \
|
|
|
|
done
|
|
|
|
|
2007-06-16 09:34:35 +00:00
|
|
|
install-help:
|
|
|
|
@for dir in $(KICAD_SUBDIRS_HELP); do \
|
|
|
|
$(MAKE) -C $$dir install; \
|
|
|
|
done
|
|
|
|
|
|
|
|
install: install-bin install-res install-help
|
2007-06-16 09:07:23 +00:00
|
|
|
|
2007-05-06 16:03:28 +00:00
|
|
|
clean:
|
2007-06-13 13:01:44 +00:00
|
|
|
@for dir in $(KICAD_SUBDIRS); do \
|
2007-06-16 09:07:23 +00:00
|
|
|
$(MAKEGTK) -C $$dir clean; \
|
2007-06-13 13:01:44 +00:00
|
|
|
done
|