Makefile 643 Bytes
Newer Older
Scotty Bauer's avatar
Scotty Bauer committed
1
obj-m :=  betaModule1.o
Scott Bauer's avatar
Scott Bauer committed
2
3
4
#CFLAGS_betaModule1.o = -DDEBUG -DDEBUG_MWAIT_RETRY  -DTIMING -g -Wall
#CFLAGS_betaModule.o = -DDEBUG -DDEBUG_MWAIT_RETRY   -DTIMING -g -Wall
#CFLAGS_ring-channel.o = -DDEBUG -DDEBUG_MWAIT_RETRY -DTIMING -g -Wall
Scotty Bauer's avatar
Scotty Bauer committed
5

6
7
CFLAGS_betaModule1.o =  -g -O2  -DPOLL -DTIMING -DUSE_FLOOD #-DDEBUG #-DDEBUG_MWAIT_RETRY 
CFLAGS_betaModule.o =   -g -O2 -DPOLL -DTIMING -DUSE_FLOOD #-DDEBUG #-DDEBUG_MWAIT_RETRY #-DDEBUG
Scott Bauer's avatar
backup    
Scott Bauer committed
8
CFLAGS_ring-channel.o = -g -O2
Scotty Bauer's avatar
Scotty Bauer committed
9
10

betaModule1-objs := ./ring-chan/ring-channel.o ./betaModule.o
11
12
13
14
15
16
17

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

default:
	make -C $(KDIR) M=$(PWD) modules
clean:
	make -C $(KDIR) M=$(PWD) clean