1 # Makefile for the Attansic/Atheros L2 ethernet driver (ATL2)
12 # programs, flags, etc.
15 CFLAGS
= -I
$i $(CPROFILE
)
24 $(CC
) -o
$@
$(LDFLAGS
) $(OBJ
) $(LIBS
)
26 # install with other drivers
27 install: /usr
/sbin
/$(DRIVER
)
28 /usr
/sbin
/$(DRIVER
): $(DRIVER
)
29 install -o root
-cs
$?
$@
31 # clean up local files
33 rm -f
$(DRIVER
) *.o
*.bak
36 mkdep
"$(CC) -E $(CPPFLAGS)" *.c
> .depend