1 # Makefile for the Realtek RTL8169 ethernet driver (RTL8169)
12 # programs, flags, etc.
15 CFLAGS
= -I
$i $(CPROFILE
)
24 $(CC
) -o
$@
$(LDFLAGS
) $(OBJ
) $(LIBS
)
25 install -S
64kw
$(DRIVER
)
27 # install with other drivers
28 install: /usr
/sbin
/$(DRIVER
)
29 /usr
/sbin
/$(DRIVER
): $(DRIVER
)
30 install -o root
-cs
$?
$@
32 # clean up local files
34 rm -f
$(DRIVER
) *.o
*.bak
37 mkdep
"$(CC) -E $(CPPFLAGS)" *.c
> .depend
39 # Include generated dependencies.