From a7453e30ca4c9f42d27d42f96bc223533c330900 Mon Sep 17 00:00:00 2001 From: John Ogness Date: Fri, 1 Feb 2019 17:02:02 +0106 Subject: ipc_tcp: add new ipc example using loopback sockets This demo should (hopefully serve) as a basis for overlaying pcap and ftrace data within trace compass. Signed-off-by: John Ogness --- schulung_tools/ipc_tcp/Makefile | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 schulung_tools/ipc_tcp/Makefile (limited to 'schulung_tools/ipc_tcp/Makefile') diff --git a/schulung_tools/ipc_tcp/Makefile b/schulung_tools/ipc_tcp/Makefile new file mode 100644 index 0000000..be9a747 --- /dev/null +++ b/schulung_tools/ipc_tcp/Makefile @@ -0,0 +1,25 @@ +CC = $(CROSS_COMPILE)gcc +CFLAGS = -Wall -Werror -g -O0 -std=c99 -D_GNU_SOURCE +LDFLAGS = +CFLAGS += \ + -Wchar-subscripts \ + -Wmissing-declarations \ + -Wmissing-prototypes \ + -Wnested-externs \ + -Wpointer-arith \ + -Wcast-align \ + -Wfloat-equal \ + -Wsign-compare + +all: recv send + +recv: recv.c + $(CC) $(CFLAGS) $(LDFLAGS) -o$@ $< + +send: send.c + $(CC) $(CFLAGS) $(LDFLAGS) -o$@ $< + +clean: + rm -f send recv + +.PHONY: clean all -- cgit v1.2.3