diff --git a/Makefile b/Makefile index 3f7b39dc..668c9410 100644 --- a/Makefile +++ b/Makefile @@ -34,15 +34,15 @@ endif all: build -build: lib example +build: lib examples lib: @printf " BUILD lib\n" $(Q)$(MAKE) -C lib all -example: lib - @printf " BUILD example\n" - $(Q)$(MAKE) -C example all +examples: lib + @printf " BUILD examples\n" + $(Q)$(MAKE) -C examples all install: build @printf " INSTALL headers\n" @@ -54,7 +54,7 @@ install: build $(Q)$(INSTALL) -m 0644 lib/*.a $(LIBDIR) clean: - $(Q)$(MAKE) -C example clean + $(Q)$(MAKE) -C examples clean $(Q)$(MAKE) -C lib clean .PHONY: build lib example install clean diff --git a/example/Makefile b/examples/Makefile similarity index 100% rename from example/Makefile rename to examples/Makefile diff --git a/example/README b/examples/README similarity index 100% rename from example/README rename to examples/README diff --git a/example/blink.c b/examples/blink.c similarity index 100% rename from example/blink.c rename to examples/blink.c diff --git a/example/blink.ld b/examples/blink.ld similarity index 100% rename from example/blink.ld rename to examples/blink.ld