summaryrefslogtreecommitdiffstats
path: root/src/civetweb/src/third_party/duktape-1.5.2/Makefile.eventloop
blob: 14806ac8d5903e274457a90ec61a339222a5f82b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#
#  Example Makefile for building the eventloop example
#

evloop:
	@echo "NOTE: The eventloop is example is intended to be used on Linux"
	@echo "      or other common UNIX variants.  It is not fully portable."
	@echo ""

	gcc -o $@ -std=c99 -Wall -Wextra -O2 -Isrc \
		examples/eventloop/main.c \
		examples/eventloop/c_eventloop.c \
		examples/eventloop/poll.c \
		examples/eventloop/socket.c \
		examples/eventloop/fileio.c \
		examples/eventloop/ncurses.c \
		src/duktape.c \
		-lm -lncurses

	@echo ""
	@echo "NOTE: You must 'cd examples/eventloop' before you execute the"
	@echo "      eventloop binary: it relies on finding .js files in CWD"