contiki/tools/stm32w/wpcapslip6/Makefile
2010-10-25 10:42:40 +00:00

25 lines
386 B
Makefile

CONTIKI=../../..
CFLAGS=-Wall -Werror -I$(CONTIKI)/core -I.
ifdef WITH_STDIN
CFLAGS += -DWITH_STDIN
endif
all: clean wpcapslip6
ifdef WITH_STDIN
mv wpcapslip6.exe wpcapslip6-stdin.exe
endif
clean:
rm -f wpcapslip6.o wpcap6.o
vpath %.c $(CONTIKI)/core/net
wpcapslip6: wpcapslip6.o wpcap6.o
%: %.o
$(CC) $(LDFLAGS) $^ /lib/w32api/libws2_32.a /lib/w32api/libiphlpapi.a -o $@