]> git.proxmox.com Git - ceph.git/blame - ceph/src/civetweb/src/third_party/duktape-1.3.0/Makefile.eventloop
bump version to 12.2.12-pve1
[ceph.git] / ceph / src / civetweb / src / third_party / duktape-1.3.0 / Makefile.eventloop
CommitLineData
7c673cae
FG
1#
2# Example Makefile for building the eventloop example
3#
4
5evloop:
6 @echo "NOTE: The eventloop is example is intended to be used on Linux"
7 @echo " or other common UNIX variants. It is not fully portable."
8 @echo ""
9
10 gcc -o $@ -std=c99 -Wall -Wextra -O2 -Isrc \
11 examples/eventloop/main.c \
12 examples/eventloop/c_eventloop.c \
13 examples/eventloop/poll.c \
14 examples/eventloop/socket.c \
15 examples/eventloop/fileio.c \
16 examples/eventloop/ncurses.c \
17 src/duktape.c \
18 -lm -lncurses
19
20 @echo ""
21 @echo "NOTE: You must 'cd examples/eventloop' before you execute the"
22 @echo " eventloop binary: it relies on finding .js files in CWD"