Commit ead96908 authored by 's avatar
Browse files

makefile for test_cooking


git-svn-id: file:///home/svn/mapi/trunk@240 8d5bb341-7cf1-0310-8cf6-ba355fef3186
parent dc56dc53
include ../Makefile.in include ../Makefile.in
MAKE_ALL= test_bpf_filter test_get_info test_byte_counter test_close_flow test_create_flow test_get_next_pkt test_mapi_apply_function test_mapi_connect test_mapi_read_results test_off_bpf_filter test_off_pkt_counter test_off_res2file test_off_stats test_off_str_search test_off_to_buffer test_pkt_counter test_sample_pkts test_str_search test_tcp_offline_flow test_to_buffer test_error test_for_error_cases test_loop test_get_flow_info test_mapi_get_function_info test_to_file test_off_ethereal_reti test_off_ethereal_rets test_video test_comboflow test_packet_read MAKE_ALL= test_bpf_filter test_get_info test_byte_counter test_close_flow test_create_flow test_get_next_pkt test_mapi_apply_function test_mapi_connect test_mapi_read_results test_off_bpf_filter test_off_pkt_counter test_off_res2file test_off_stats test_off_str_search test_off_to_buffer test_pkt_counter test_sample_pkts test_str_search test_tcp_offline_flow test_to_buffer test_error test_for_error_cases test_loop test_get_flow_info test_mapi_get_function_info test_to_file test_off_ethereal_reti test_off_ethereal_rets test_video test_comboflow test_packet_read test_cooking
CFLAGS=-g -O2 $(C_WARNINGS) CFLAGS=-g -O2 $(C_WARNINGS)
...@@ -100,6 +100,8 @@ test_mapi_get_function_info: ../mapi.so test_mapi_get_function_info.c ../mapi.h ...@@ -100,6 +100,8 @@ test_mapi_get_function_info: ../mapi.so test_mapi_get_function_info.c ../mapi.h
test_packet_read: ../mapi.so test_packet_read.c ../mapi.h test_packet_read: ../mapi.so test_packet_read.c ../mapi.h
$(CC) $(CFLAGS) -o test_packet_read test_packet_read.c ../mapi.so -lpcap -lpthread $(CC) $(CFLAGS) -o test_packet_read test_packet_read.c ../mapi.so -lpcap -lpthread
test_cooking: ../mapi.so test_cooking.c ../mapi.h
$(CC) $(CFLAGS) -o test_cooking test_cooking.c ../mapi.so -lpcap -lpthread
clean: clean:
rm -rf $(MAKE_ALL) rm -rf $(MAKE_ALL)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment