Makefile 589 Bytes
Newer Older
1
2
obj-m := rpc_testing.o

3
4
5
#ccflags-y += -O2 -I/users/mquigley/fast-ipc-module/current/IPC


Michael Quigley's avatar
Michael Quigley committed
6
7
ccflags-y += -O2 -I/users/mquigley/fast-ipc-module/current/IPC 
#-I/local/sda4/async/xcap-capability-linux/include
8
9
10
11

INC_DIR = ../../IPC

CFLAGS_ipc.o = -O2 -DPOLL
12
CFLAGS_ring-channel.o = -I$(INC_DIR) 
13
14
DEPS= $(INC_DIR)/ipc.h

Michael Quigley's avatar
Michael Quigley committed
15
rpc_testing-objs :=  ../../IPC/ipc.o ../../ring-chan/ring-channel.o callee.o caller.o rpc_test.o
16
17
18
19
20
21
22

KDIR := /lib/modules/`uname -r`/build

default:
	make -C $(KDIR) M=$(PWD) modules
clean:
	make -C $(KDIR) M=$(PWD) clean
23
24
	rm ../../IPC/ipc.o
	rm ../../ring-chan/ring-channel.o