diff options
Diffstat (limited to 'schulung_tools/ipc_tcp/Makefile')
| -rw-r--r-- | schulung_tools/ipc_tcp/Makefile | 25 |
1 files changed, 25 insertions, 0 deletions
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 |
