用于EagleEye3.0 规则集漏报和误报测试的示例项目,项目收集于github和gitee
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

24 lines
663 B

#
# Example Makefile for building the eventloop example
#
CC = gcc
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 ""
$(CC) -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"