IEEE 802.15.4 subsystem
Sign in or create your account | Project List | Help
IEEE 802.15.4 subsystem Git Source Tree
Root/
Source at commit 0463bbea5d737f4385ed09997cff6f6ee9232640 created 13 years 4 months ago. By Werner Almesberger, Added graphical display of RSSI scan results. | |
---|---|
1 | # |
2 | # tools/Makefile.common - Common items in ATSPI tool makefiles |
3 | # |
4 | # Written 2010 by Werner Almesberger |
5 | # Copyright 2010 Werner Almesberger |
6 | # |
7 | # This program is free software; you can redistribute it and/or modify |
8 | # it under the terms of the GNU General Public License as published by |
9 | # the Free Software Foundation; either version 2 of the License, or |
10 | # (at your option) any later version. |
11 | # |
12 | |
13 | ifeq ($(TARGET),) |
14 | TARGET = host |
15 | endif |
16 | |
17 | F32XBASE = ../../../f32xbase |
18 | |
19 | ifneq ($(MAIN),) |
20 | include $(F32XBASE)/lib/Makefile.common |
21 | endif |
22 | |
23 | CC_host = gcc |
24 | CC_ben = mipsel-openwrt-linux-gcc |
25 | CFLAGS_host = |
26 | CFLAGS_ben = |
27 | LDLIBS_host = -lusb |
28 | LDLIBS_ben = |
29 | MACROS_host = -DHAVE_USB |
30 | MACROS_ben = -DHAVE_USD |
31 | |
32 | CC_normal := $(CC_$(TARGET)) |
33 | AR_normal := $(AR) |
34 | CC_quiet = @echo " CC " $@ && $(CC_normal) |
35 | AR_quiet = @echo " AR " $@ && $(AR_normal) |
36 | |
37 | ifeq ($(V),1) |
38 | CC = $(CC_normal) |
39 | AR = $(AR_normal) |
40 | else |
41 | CC = $(CC_quiet) |
42 | AR = $(AR_quiet) |
43 | endif |
44 | |
45 | CFLAGS += $(CFLAGS_$(TARGET)) -I../../atusb/fw/include -I../include \ |
46 | $(MACROS_$(TARGET)) |
47 | LDLIBS = $(LDLIBS_$(TARGET)) -L../lib -latspi |
48 | OBJS += $(OBJS_$(TARGET)) |
49 |