dec21140A ethernet driver for virtualpc, contributed by nicolas tittley.
[minix.git] / drivers / audio / sb16 / Makefile
blobae892173d5e2051e6d523f954714bfe7fd0bc7d8
1 # Makefile for the Sound Blaster 16 driver (SB16)
3 # directories
4 u = /usr
5 i = $u/include
6 s = $i/sys
7 m = $i/minix
8 b = $i/ibm
9 d = ..
11 # programs, flags, etc.
12 CC = exec cc
13 CFLAGS = -I$i
14 LDFLAGS = -i
15 LIBS = -lsys
18 # build local binary
19 all build: sb16
21 sb16: sb16.o mixer.o audio_fw.o liveupdate.o
22 $(CC) -o $@ $(LDFLAGS) sb16.o mixer.o audio_fw.o liveupdate.o $(LIBS)
24 audio_fw.o liveupdate.o: ../framework/audio_fw.c ../framework/liveupdate.c ../framework/audio_fw.h
25 $(CC) -c ../framework/audio_fw.c ../framework/liveupdate.c
27 # install with other drivers
28 install: /usr/sbin/sb16
29 /usr/sbin/sb16: sb16
30 install -o root -S 512k -c $? $@
32 # clean up local files
33 clean:
34 rm -f *.o *.bak sb16
36 depend:
37 mkdep "$(CC) -E $(CPPFLAGS)" *.c > .depend
39 # Include generated dependencies.
40 include .depend