ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/Unix/Linux/NetDriver/Makefile
(Generate patch)

Comparing BasiliskII/src/Unix/Linux/NetDriver/Makefile (file contents):
Revision 1.5 by cebix, 2002-01-06T14:05:35Z vs.
Revision 1.8 by cebix, 2003-11-28T15:49:16Z

# 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 -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES
7   ASFLAGS =
8   LDFLAGS =
9   LIBS =
10 + KERNDIR = /lib/modules/$(shell uname -r)
11  
12   ## Files
13   OBJS = sheep_net.o
# Line 18 | Line 19 | sheep_net.o: sheep_net.c
19   dev:
20          mknod /dev/sheep_net c 10 198
21  
22 + install: sheep_net.o
23 +        install -d $(KERNDIR)/misc
24 +        install -m 644 sheep_net.o $(KERNDIR)/misc
25 +        depmod -a
26 +
27   clean:
28          -rm $(OBJS)
29  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines