1 |
cebix |
1.3 |
# Linux makefile for sheep_net driver |
2 |
cebix |
1.1 |
|
3 |
|
|
## System specific configuration |
4 |
|
|
CC = cc |
5 |
|
|
CPPFLAGS = -I. -I/usr/src/linux/include |
6 |
cebix |
1.2 |
CFLAGS = -O2 -Wall -fno-builtin -D__KERNEL__ -DMODULE |
7 |
cebix |
1.1 |
ASFLAGS = |
8 |
|
|
LDFLAGS = |
9 |
|
|
LIBS = |
10 |
|
|
|
11 |
|
|
## Files |
12 |
|
|
OBJS = sheep_net.o |
13 |
|
|
|
14 |
|
|
## Rules |
15 |
|
|
sheep_net.o: sheep_net.c |
16 |
|
|
$(CC) -c $(CPPFLAGS) $(CFLAGS) sheep_net.c |
17 |
cebix |
1.2 |
|
18 |
|
|
dev: |
19 |
|
|
mknod /dev/sheep_net c 10 198 |
20 |
cebix |
1.1 |
|
21 |
|
|
clean: |
22 |
|
|
-rm $(OBJS) |
23 |
|
|
|
24 |
|
|
dep depend: |
25 |
|
|
makedepend $(CPPFLAGS) -Y *.c |
26 |
|
|
|
27 |
|
|
# DO NOT DELETE |