# | Line 3 | Line 3 | |
---|---|---|
3 | ## System specific configuration | |
4 | CC = cc | |
5 | CPPFLAGS = -I. -I/usr/src/linux/include | |
6 | < | CFLAGS = -O2 -Wall -D__KERNEL__ -DMODULE |
6 | > | CFLAGS = -O2 -Wall -fno-builtin -D__KERNEL__ -DMODULE |
7 | ASFLAGS = | |
8 | LDFLAGS = | |
9 | LIBS = | |
# | Line 15 | Line 15 | OBJS = sheep_net.o | |
15 | sheep_net.o: sheep_net.c | |
16 | $(CC) -c $(CPPFLAGS) $(CFLAGS) sheep_net.c | |
17 | ||
18 | + | dev: |
19 | + | mknod /dev/sheep_net c 10 198 |
20 | + | |
21 | clean: | |
22 | -rm $(OBJS) | |
23 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |