annotate drivers/Makefile @ 205:a67955d10f94

typo correction
author gabucino
date Sat, 24 Mar 2001 18:51:48 +0000
parents baa0a12438eb
children a721a2b91d3d
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 CC = gcc
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
3 KERNEL_INCLUDES = /usr/src/linux/include
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
4 INCLUDES = -I$(KERNEL_INCLUDES)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
5 CFLAGS = -g -O2 -Wall -D__KERNEL__ -DMODULE -include $(KERNEL_INCLUDES)/linux/modversions.h
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
6
57
baa0a12438eb config interface changed
arpi_esp
parents: 1
diff changeset
7 all: mga_vid.o mga_vid_test
baa0a12438eb config interface changed
arpi_esp
parents: 1
diff changeset
8 # sis_vid.o
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
9
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
10 mga_vid.o: mga_vid.c mga_vid.h
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
11 $(CC) $(CFLAGS) $(INCLUDES) -c $(basename $@).c
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
12
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
13 sis_vid.o: sis_vid.c sis_vid.h
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
14 $(CC) $(CFLAGS) $(INCLUDES) -c $(basename $@).c
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
15
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
16 mga_vid_test: mga_vid_test.c
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
17 $(CC) -g -O -Wall $(INCLUDES) -o $@ $@.c
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
18
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
19 clean:
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
20 rm -f *.o *~
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
21
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
22 distclean: clean
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
23 rm -f mga_vid_test