kore

Kore is a web application platform for writing scalable, concurrent web based processes in C or Python.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

Makefile (829B)



      1 #
      2 # Build all relevant examples.
      3 # This only exists to quickly test building all examples.
      4 #
      5 # Kore must be built with PGSQL=1 TASKS=1 PYTHON=1 to get all
      6 # of the below examples to build correctly.
      7 #
      8 # Don't run this directly, run it from the top level as
      9 # $ make releng-build-examples
     10 #
     11 
     12 CURDIR=		$(shell pwd)
     13 KODEV=		/tmp/kore_releng/bin/kodev
     14 
     15 EXAMPLES=	async-curl \
     16 		cookies \
     17 		cpp \
     18 		generic \
     19 		headers \
     20 		integers \
     21 		memtag \
     22 		messaging \
     23 		nohttp \
     24 		parameters \
     25 		pgsql \
     26 		pgsql-sync \
     27 		pipe_task \
     28 		sse \
     29 		tasks \
     30 		tls-proxy \
     31 		upload \
     32 		video_stream \
     33 		websocket \
     34 
     35 all:
     36 	@for example in $(EXAMPLES); do \
     37 		cd $$example; \
     38 		$(KODEV) clean && $(KODEV) build || exit 1; \
     39 		cd $(CURDIR); \
     40 	done
     41 
     42 clean:
     43 	@for example in $(EXAMPLES); do \
     44 		cd $$example; \
     45 		$(KODEV) clean; \
     46 		cd $(CURDIR); \
     47 	done