Mercurial > mplayer.hg
annotate drivers/Makefile @ 2557:6a74454ea121
some cleanup
author | arpi |
---|---|
date | Tue, 30 Oct 2001 17:04:59 +0000 |
parents | a721a2b91d3d |
children | fda4c0ea039f |
rev | line source |
---|---|
1 | 1 |
2 KERNEL_INCLUDES = /usr/src/linux/include | |
3 INCLUDES = -I$(KERNEL_INCLUDES) | |
4 CFLAGS = -g -O2 -Wall -D__KERNEL__ -DMODULE -include $(KERNEL_INCLUDES)/linux/modversions.h | |
5 | |
57 | 6 all: mga_vid.o mga_vid_test |
7 # sis_vid.o | |
1 | 8 |
9 mga_vid.o: mga_vid.c mga_vid.h | |
10 $(CC) $(CFLAGS) $(INCLUDES) -c $(basename $@).c | |
11 | |
12 sis_vid.o: sis_vid.c sis_vid.h | |
13 $(CC) $(CFLAGS) $(INCLUDES) -c $(basename $@).c | |
14 | |
15 mga_vid_test: mga_vid_test.c | |
16 $(CC) -g -O -Wall $(INCLUDES) -o $@ $@.c | |
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 | 20 clean: |
21 rm -f *.o *~ | |
22 | |
23 distclean: clean | |
24 rm -f mga_vid_test |