verbose printing and sanity checking functions.
[minix.git] / drivers / lance / Makefile
blob6995bb47dc8d29fefb2933bbe60604ed34391784
1 # Makefile for Intel Pro/100 driver (FXP)
2 DRIVER = lance
4 # directories
5 u = /usr
6 i = $u/include
7 s = $i/sys
8 m = $i/minix
9 b = $i/ibm
10 d = ..
12 # programs, flags, etc.
13 CC = exec cc
14 CFLAGS = -I$i $(CPROFILE)
15 LDFLAGS = -i
16 LIBS = -lsys
17 #-lutils -ltimers
19 OBJ = lance.o
21 # build local binary
22 all build: $(DRIVER)
23 $(DRIVER): $(OBJ)
24 $(CC) -o $@ $(LDFLAGS) $(OBJ) $(LIBS)
25 install -S 128k $(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
33 clean:
34 rm -f *.o *.bak $(DRIVER)
36 depend:
37 mkdep "$(CC) -E $(CPPFLAGS)" *.c > .depend
39 # Include generated dependencies.
40 include .depend