2 ## Makefile for Dec21140A ethernet board driver
5 ## Programs, flags, etc.
12 CPPFLAGS
= -I..
-I
/usr
/include -Ddebug
=$(debug
) $(CPROFILE
)
13 CFLAGS
= -ws
-w
-Wall
$(CPPFLAGS
)
18 LIBS
= -lsys
# -ltimers
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
*~