ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/Unix/Linux/NetDriver/Makefile
Revision: 1.7
Committed: 2003-02-06T19:24:09Z (21 years, 5 months ago) by cebix
Branch: MAIN
CVS Tags: nigel-build-12, nigel-build-13
Changes since 1.6: +4 -3 lines
Log Message:
some cleanups

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.7 CFLAGS = -O2 -Wall -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES
7 cebix 1.1 ASFLAGS =
8     LDFLAGS =
9     LIBS =
10 cebix 1.7 KERNDIR = /lib/modules/$(shell uname -r)
11 cebix 1.1
12     ## Files
13     OBJS = sheep_net.o
14    
15     ## Rules
16     sheep_net.o: sheep_net.c
17     $(CC) -c $(CPPFLAGS) $(CFLAGS) sheep_net.c
18 cebix 1.2
19     dev:
20     mknod /dev/sheep_net c 10 198
21 cebix 1.1
22 cebix 1.6 install: sheep_net.o
23 cebix 1.7 install -d $(KERNDIR)/misc
24     install -m 644 sheep_net.o $(KERNDIR)/misc
25 cebix 1.6
26 cebix 1.1 clean:
27     -rm $(OBJS)
28    
29     dep depend:
30     makedepend $(CPPFLAGS) -Y *.c
31    
32     # DO NOT DELETE