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

20 lines
345 B
Makefile
Raw Normal View History

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