dec21140A ethernet driver for virtualpc, contributed by nicolas tittley.
[minix.git] / drivers / bios_wini / Makefile
blobf0ff487e898834649e4afee812a33ae143a61d3b
1 # Makefile for the BIOS disk driver (BIOS_WINI)
2 DRIVER = bios_wini
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 MAKE = exec make
14 CC = exec cc
15 CFLAGS = -I$i $(CPROFILE)
16 LDFLAGS = -i -L../libdriver
17 LIBS = -ldriver -lsys -lsys -ltimers
19 OBJ = bios_wini.o
21 # build local binary
22 all build: $(DRIVER)
23 $(DRIVER): $(OBJ)
24 $(CC) -o $@ $(LDFLAGS) $(OBJ) $(LIBS)
25 install $(DRIVER)
27 # install with other drivers
28 install: /sbin/$(DRIVER)
29 /sbin/$(DRIVER): $(DRIVER)
30 install -o root -cs $? $@
32 # clean up local files
33 clean:
34 rm -f $(DRIVER) *.o *.bak
36 depend:
37 mkdep "$(CC) -E $(CPPFLAGS)" *.c ../libdriver/*.c > .depend
39 # Include generated dependencies.
40 include .depend