annotate drivers/Makefile @ 1894:92b0270f8f8a

Applied cpu detection fix by Kjetil Torgrim Homme <kjetilho at linpro dot no>.
author atmos4
date Sat, 15 Sep 2001 22:28:55 +0000
parents a721a2b91d3d
children fda4c0ea039f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
2 KERNEL_INCLUDES = /usr/src/linux/include
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
3 INCLUDES = -I$(KERNEL_INCLUDES)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
4 CFLAGS = -g -O2 -Wall -D__KERNEL__ -DMODULE -include $(KERNEL_INCLUDES)/linux/modversions.h
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
5
57
baa0a12438eb config interface changed
arpi_esp
parents: 1
diff changeset
6 all: mga_vid.o mga_vid_test
baa0a12438eb config interface changed
arpi_esp
parents: 1
diff changeset
7 # sis_vid.o
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
8
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
9 mga_vid.o: mga_vid.c mga_vid.h
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
10 $(CC) $(CFLAGS) $(INCLUDES) -c $(basename $@).c
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
11
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
12 sis_vid.o: sis_vid.c sis_vid.h
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
13 $(CC) $(CFLAGS) $(INCLUDES) -c $(basename $@).c
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
14
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
15 mga_vid_test: mga_vid_test.c
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
16 $(CC) -g -O -Wall $(INCLUDES) -o $@ $@.c
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
17
1395
a721a2b91d3d Added StrongARM crosscompiling support by Maksim Krasnyanskiy <maxk at qualcomm.com> and fixed a --datadir bug in configure.
atmos4
parents: 57
diff changeset
18 dep:
a721a2b91d3d Added StrongARM crosscompiling support by Maksim Krasnyanskiy <maxk at qualcomm.com> and fixed a --datadir bug in configure.
atmos4
parents: 57
diff changeset
19
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
20 clean:
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
21 rm -f *.o *~
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
22
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
23 distclean: clean
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
24 rm -f mga_vid_test