kore

a fork of the worlds most advanced web framework
Log | Files | Refs | README | LICENSE

commit 418c08166ae0262015fe4b78c80b2509f0edc50d
parent af45936447630ef92cff37f213ecd571eb237ab2
Author: Joris Vink <joris@coders.se>
Date:   Thu, 29 Nov 2018 21:13:43 +0100

use releng things

Diffstat:
Mexamples/Makefile | 17++++++++++++-----
1 file changed, 12 insertions(+), 5 deletions(-)

diff --git a/examples/Makefile b/examples/Makefile @@ -5,9 +5,12 @@ # Kore must be built with PGSQL=1 TASKS=1 PYTHON=1 to get all # of the below examples to build correctly. # +# Don't run this directly, run it from the top level as +# $ make releng-build-examples +# CURDIR= $(shell pwd) -KODEV= ../kodev/kodev +KODEV= /tmp/kore_releng/bin/kodev EXAMPLES= cookies \ cpp \ @@ -32,12 +35,16 @@ EXAMPLES= cookies \ video_stream \ websocket \ -all: $(KODEV) +all: @for example in $(EXAMPLES); do \ cd $$example; \ - ../$(KODEV) clean && ../$(KODEV) build || exit 1; \ + $(KODEV) clean && $(KODEV) build || exit 1; \ cd $(CURDIR); \ done -$(KODEV): - $(MAKE) -C $(KORE_ROOT)/kodev +clean: + @for example in $(EXAMPLES); do \ + cd $$example; \ + $(KODEV) clean; \ + cd $(CURDIR); \ + done