dec21140A ethernet driver for virtualpc, contributed by nicolas tittley.
[minix.git] / drivers / audio / es1370 / Makefile
blob828a415ca658ac037788eb136cb4159c7f16fdd7
1 # Makefile for the ES1371 sounddriver (SB16)
3 # directories
4 u = /usr
5 i = $u/include
6 s = $i/sys
7 m = $i/minix
8 b = $i/ibm
9 gen_drv_dir = ../../gen_drivers/cyclic_dma
11 # programs, flags, etc.
12 CC = exec cc
13 CFLAGS = -I$i
14 LDFLAGS = -i
15 LIBS = -lsys
17 # build local binary
18 all: es1370
20 es1370: es1370.o ak4531.o audio_fw.o liveupdate.o pci_helper.o
21 $(CC) -o $@ $(LDFLAGS) es1370.o ak4531.o audio_fw.o liveupdate.o pci_helper.o $(LIBS)
23 audio_fw.o liveupdate.o: ../framework/audio_fw.c ../framework/liveupdate.c ../framework/audio_fw.h
24 $(CC) -c ../framework/audio_fw.c ../framework/liveupdate.c
26 install: /usr/sbin/es1370
27 /usr/sbin/es1370: es1370
28 install -o root -S 1024k -c $? $@
30 # clean up local files
31 clean:
32 rm -f *.o *.bak core es1370
34 depend:
35 mkdep "$(CC) -E $(CPPFLAGS)" *.c > .depend
37 # Include generated dependencies.
38 include .depend