ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/Unix/Linux/NetDriver/Makefile
Revision: 1.6
Committed: 2003-02-06T19:10:08Z (21 years, 5 months ago) by cebix
Branch: MAIN
Changes since 1.5: +4 -0 lines
Log Message:
added "install" target

File Contents

# User Rev Content
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.5 CFLAGS = -O2 -Wall -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 cebix 1.6 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 cebix 1.1 clean:
26     -rm $(OBJS)
27    
28     dep depend:
29     makedepend $(CPPFLAGS) -Y *.c
30    
31     # DO NOT DELETE