1
2PROG=scev
3
4.PRECIOUS: $(PROG)
5
6SRC_DIR=../../src
7PS_DIR=../../../../io_engine/io_engine-2.0.38.2
8
9CORE_SRC=$(addprefix $(SRC_DIR)/,scalable_event.c key_value_store.c fhash.c util.c)
10
11all: clean $(PROG)
12
13$(PROG): test.c $(CORE_SRC)
14	gcc -gdwarf-2 -g3 -Wall $^ -DTEST -DNEWEV -I$(SRC_DIR)/include -I$(PS_DIR)/include -o $@
15	./$(PROG) -p 0.5 -d 10
16
17clean:
18	rm -f $(PROG)
19	rm -f core
20