summaryrefslogtreecommitdiff
path: root/schulung_tools/ipc_tcp/Makefile
blob: be9a74712e18efed68a7f8370d294a4d51465333 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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