1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/dist/tools/benchmark_udp/Makefile
2022-03-11 16:32:28 +01:00

20 lines
349 B
Makefile

CFLAGS?=-g -O3 -Wall -Wextra
BINARY := bin/benchmark_server
all: bin $(BINARY)
bin:
mkdir bin
run:
$(BINARY) :: 12345
RIOTBASE:=../../..
RIOT_INCLUDES=-I$(RIOTBASE)/core/lib/include -I$(RIOTBASE)/sys/include
SRCS:=$(wildcard *.c)
$(BINARY): $(SRCS)
$(CC) $(CFLAGS) $(CFLAGS_EXTRA) $(RIOT_INCLUDES) -I.. $(SRCS) -o $@
clean:
rm -f $(BINARY)