mirror of
https://github.com/jorisvink/kore
synced 2025-03-09 12:39:01 -04:00
add a Makefile to build all examples.
This commit is contained in:
parent
ccaab50410
commit
59ce048ce3
40
examples/Makefile
Normal file
40
examples/Makefile
Normal file
@ -0,0 +1,40 @@
|
||||
#
|
||||
# Build all relevant examples.
|
||||
# This only exists to quickly test building all examples.
|
||||
#
|
||||
|
||||
CURDIR= $(shell pwd)
|
||||
KODEV= ../kodev/kodev
|
||||
|
||||
EXAMPLES= cookies \
|
||||
cpp \
|
||||
generic \
|
||||
headers \
|
||||
integers \
|
||||
memtag \
|
||||
messaging \
|
||||
nohttp \
|
||||
parameters \
|
||||
pgsql \
|
||||
pgsql-sync \
|
||||
pipe_task \
|
||||
python \
|
||||
python-async \
|
||||
python-echo \
|
||||
python-pgsql \
|
||||
sse \
|
||||
tasks \
|
||||
tls-proxy \
|
||||
upload \
|
||||
video_stream \
|
||||
websocket \
|
||||
|
||||
all: $(KODEV)
|
||||
@for example in $(EXAMPLES); do \
|
||||
cd $$example; \
|
||||
../$(KODEV) clean && ../$(KODEV) build || exit 1; \
|
||||
cd $(CURDIR); \
|
||||
done
|
||||
|
||||
$(KODEV):
|
||||
$(MAKE) -C $(KORE_ROOT)/kodev
|
Loading…
x
Reference in New Issue
Block a user