Blame view

RIOT/dist/tools/uhcpd/Makefile 377 Bytes
fb11e647   vrobic   reseau statique a...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
  CFLAGS?=-g -O3 -Wall
  CFLAGS_EXTRA=-DUHCP_SERVER
  all: bin bin/uhcpd
  
  bin:
  	mkdir bin
  
  RIOTBASE:=../../..
  UHCP_DIR:=$(RIOTBASE)/sys/net/application_layer/uhcp
  RIOT_INCLUDE=$(RIOTBASE)/sys/include
  SRCS:=$(UHCP_DIR)/uhcp.c uhcpd.c
  HDRS:=$(RIOT_INCLUDE)/net/uhcp.h
  bin/uhcpd: $(SRCS) $(HDRS)
  	$(CC) $(CFLAGS) $(CFLAGS_EXTRA) -I$(RIOT_INCLUDE) $(SRCS) -o $@
  
  clean:
  	rm -f bin/uhcpd