Loading .gitignore +2 −0 Original line number Original line Diff line number Diff line Loading @@ -10,3 +10,5 @@ generated* sysroots sysroots bitbake-logs bitbake-logs /temp/ /temp/ *.o *.cgi Makefile 0 → 100644 +27 −0 Original line number Original line Diff line number Diff line # Runs 'make', 'make install', and 'make clean' in specified subdirectories SUBDIRS := src INSTALLDIRS = $(SUBDIRS:%=install-%) CLEANDIRS = $(SUBDIRS:%=clean-%) #TARGETDIR=$(DESTDIR)/www/pages all: $(SUBDIRS) @echo "make all top" $(SUBDIRS): $(MAKE) -C $@ install: $(INSTALLDIRS) @echo "make install top" $(INSTALLDIRS): $(MAKE) -C $(@:install-%=%) install clean: $(CLEANDIRS) @echo "make clean top" $(CLEANDIRS): $(MAKE) -C $(@:clean-%=%) clean .PHONY: all install clean $(SUBDIRS) $(INSTALLDIRS) $(CLEANDIRS) Loading
.gitignore +2 −0 Original line number Original line Diff line number Diff line Loading @@ -10,3 +10,5 @@ generated* sysroots sysroots bitbake-logs bitbake-logs /temp/ /temp/ *.o *.cgi
Makefile 0 → 100644 +27 −0 Original line number Original line Diff line number Diff line # Runs 'make', 'make install', and 'make clean' in specified subdirectories SUBDIRS := src INSTALLDIRS = $(SUBDIRS:%=install-%) CLEANDIRS = $(SUBDIRS:%=clean-%) #TARGETDIR=$(DESTDIR)/www/pages all: $(SUBDIRS) @echo "make all top" $(SUBDIRS): $(MAKE) -C $@ install: $(INSTALLDIRS) @echo "make install top" $(INSTALLDIRS): $(MAKE) -C $(@:install-%=%) install clean: $(CLEANDIRS) @echo "make clean top" $(CLEANDIRS): $(MAKE) -C $(@:clean-%=%) clean .PHONY: all install clean $(SUBDIRS) $(INSTALLDIRS) $(CLEANDIRS)