2 ## Makefile for ISA ethernet drivers May 02, 2000
5 ## Programs, flags, etc.
12 CPPFLAGS
= -I..
-I
/usr
/include -Ddebug
=$(debug
) $(CPROFILE
)
13 CFLAGS
= -ws
$(CPPFLAGS
)
16 SRCS
= 3c501.c
3c509.c
3c503.c ne.c wd.c
8390.c devio.c netbuff.c dp.c
17 OBJS
= 3c501.o
3c509.o
3c503.o ne.o wd.o
8390.o devio.o netbuff.o dp.o
24 $(CC
) $(OBJS
) $(LIBS
) $(LDFLAGS
)
25 install -S
16k
$(DRIVER
)
27 ## Install with other drivers
28 install: /usr
/sbin
/$(DRIVER
)
29 /usr
/sbin
/$(DRIVER
): $(DRIVER
)
30 install -o root
-cs
$?
$@
32 ## Generate dependencies
35 mkdep
"$(CC) -E $(CPPFLAGS)" *.c
> .depend
39 @
rm -f
$(DRIVER
) *.o
*.BAK