dec21140A ethernet driver for virtualpc, contributed by nicolas tittley.
[minix.git] / drivers / at_wini / Makefile
blob333a9459e6c5eedd6dfd77cfbab228b92505a040
1 # Makefile for the AT disk driver (AT_WINI)
2 DRIVER = at_wini
4 # directories
5 u = /usr
6 i = $u/include
7 s = $i/sys
8 m = $i/minix
9 b = $i/ibm
10 d = ..
11 p = ../libpci
13 # programs, flags, etc.
14 MAKE = exec make
15 CC = exec cc
16 CFLAGS = -I$i $(CPROFILE)
17 LDFLAGS = -i -L../libdriver
18 LIBS = -ldriver -lsys -ltimers
20 OBJ = at_wini.o liveupdate.o
23 # build local binary
24 all build: $(DRIVER)
25 $(DRIVER): $(OBJ)
26 $(CC) -o $@ $(LDFLAGS) $(OBJ) $(LIBS)
27 install -S 32k $(DRIVER)
29 # install with other drivers
30 install: /sbin/$(DRIVER)
31 /sbin/$(DRIVER): $(DRIVER)
32 install -o root -cs $? $@
34 # clean up local files
35 clean:
36 rm -f $(DRIVER) *.o *.bak
38 depend:
39 mkdep "$(CC) -E $(CPPFLAGS)" *.c ../libdriver/*.c > .depend
41 # Include generated dependencies.
42 include .depend