-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
40 lines (27 loc) · 1.17 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
COMPONENT=testAppC
CFLAGS += -DCC2420_NO_ACKNOWLEDGEMENTS
CFLAGS += -DCC2420_NO_ADDRESS_RECOGNITION
CFLAGS += -DTOSH_DATA_LENGTH=50
CFLAGS += -I$(TOSDIR)/lib/printf
CFLAGS += -I$(TOSDIR)/lib/net \
-I$(TOSDIR)/lib/net/drip \
-I$(TOSDIR)/lib/net/4bitle \
-I$(TOSDIR)/lib/net/ctp #-DNO_DEBUG
TFLAGS += -I$(TOSDIR)/../apps/tests/TestDissemination \
-I$(TOSDIR)/../support/sdk/c \
-I$(TOSDIR)/types \
-I.
PLATFORM_BUILD_FLAGS= -fpic *-shared* -W1,--enabled-auto-image-base
#tn-listener.o: tn-listener.c
# gcc $(TFLAGS) $(CFLAGS) -c -o $@ $<
#test_network_msg.c:
# mig -o test_network_msg.h c -target=$(PLATFORM) $(CFLAGS) $(TFLAGS) TestNetwork.h TestNetworkMsg
#set_rate_msg.c:
# mig -o set_rate_msg.h c -target=$(PLATFORM) $(CFLAGS) $(TFLAGS) $(TOSDIR)/lib/net/DisseminationEngine.h dissemination_message
#set_rate_msg.o: set_rate_msg.c
# gcc $(CFLAGS) $(TFLAGS) -c -o $@ $<
#test_network_msg.o: test_network_msg.c
# gcc $(CFLAGS) $(TFLAGS) -c -o $@ $<
#collection_msg.c:
# mig -o collection_msg.h c -target=$(PLATFORM) $(CFLAGS) $(TFLAGS) $(TOSDIR)/lib/net/collection/ForwardingEngine.h collection_header
include $(MAKERULES)