mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
20 lines
349 B
Makefile
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)
|