-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathMakefile
More file actions
executable file
·30 lines (23 loc) · 864 Bytes
/
Makefile
File metadata and controls
executable file
·30 lines (23 loc) · 864 Bytes
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
#AODV for kernel 3.4
#FLAGS
#DEBUG: show debug messages
#NOMIPS: used for non-based mipsel systems
CC = $(CROSS_COMPILE)gcc
AS = $(CROSS_COMPILE)as
LD = $(CROSS_COMPILE)ld
CPP = $(CC) -E
AR = $(CROSS_COMPILE)ar
NM = $(CROSS_COMPILE)nm
STRIP = $(CROSS_COMPILE)strip
OBJCOPY = $(CROSS_COMPILE)objcopy
OBJDUMP = $(CROSS_COMPILE)objdump
obj-m := fbaodv_intel.o
fbaodv_intel-objs := fbaodv_protocol.o aodv_dev.o aodv_neigh.o aodv_route.o aodv_thread.o hello.o packet_in.o packet_out.o rerr.o rrep.o rreq.o socket.o task_queue.o timer_queue.o utils.o gw_list.o probe_ett.o rpdb.o src_list.o aodv_neigh_2h.o route_alg.o st_rreq.o tos.o packet_queue.o brk_list.o rcvp.o
KDIR :=/home/wu/Desktop/android/intel/kernel
PWD := $(shell pwd)
EXTRA_CFLAGS += -DNOMIPS -fno-pic
default:
$(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules
clean:
rm *.o *.ko
rm *.mod.c