1 |
< |
# Linux makefile for SheepShaver |
1 |
> |
# Linux makefile for sheep_net driver |
2 |
|
|
3 |
|
## System specific configuration |
4 |
|
CC = cc |
5 |
|
CPPFLAGS = -I. -I/usr/src/linux/include |
6 |
< |
CFLAGS = -O2 -Wall -fno-builtin -D__KERNEL__ -DMODULE |
6 |
> |
CFLAGS = -O2 -Wall -D__KERNEL__ -DMODULE |
7 |
|
ASFLAGS = |
8 |
|
LDFLAGS = |
9 |
|
LIBS = |
18 |
|
dev: |
19 |
|
mknod /dev/sheep_net c 10 198 |
20 |
|
|
21 |
+ |
install: sheep_net.o |
22 |
+ |
install -d /lib/modules/`uname -r`/misc |
23 |
+ |
install -m 644 sheep_net.o /lib/modules/`uname -r`/misc |
24 |
+ |
|
25 |
|
clean: |
26 |
|
-rm $(OBJS) |
27 |
|
|