Mercurial > mplayer.hg
annotate vidix/kernelhelper/Makefile @ 26679:f7cb590e72a0
Consistency fix: all DVD encoding examples had ":aspect=16/9" option, so put
it everywhere else.
author | gpoirier |
---|---|
date | Sat, 10 May 2008 12:11:05 +0000 |
parents | 7e6503b9f597 |
children |
rev | line source |
---|---|
22785
43c482cba0fb
cosmetics: Shorten long lines, remove trailing whitespace.
diego
parents:
21080
diff
changeset
|
1 KERNEL_INC = /usr/src/linux/include |
22787
52c7adc44032
Merge INCLUDES into CFLAGS and remove now redundant commands and rules.
diego
parents:
22785
diff
changeset
|
2 CFLAGS = -O2 -D__KERNEL__ -DMODULE -I$(KERNEL_INC) \ |
52c7adc44032
Merge INCLUDES into CFLAGS and remove now redundant commands and rules.
diego
parents:
22785
diff
changeset
|
3 -include $(KERNEL_INC)/linux/modversions.h |
22785
43c482cba0fb
cosmetics: Shorten long lines, remove trailing whitespace.
diego
parents:
21080
diff
changeset
|
4 VERSION = $(shell grep RELEASE $(KERNEL_INC)/linux/version.h | cut -d'"' -f2) |
4472 | 5 MDIR = /lib/modules/$(VERSION)/misc |
6 | |
7 all: dhahelper.o test | |
8 | |
9 dhahelper.o: dhahelper.c dhahelper.h | |
10 | |
11 install: dhahelper.o | |
18083 | 12 -mkdir -p $(MDIR) |
4472 | 13 install -m 644 dhahelper.o $(MDIR)/dhahelper.o |
14 depmod -a | |
15 | |
21080 | 16 dep depend: |
4472 | 17 |
26517 | 18 clean distclean: |
22788
16aa0544c85d
Remove generated test program on clean, not just on distclean.
diego
parents:
22787
diff
changeset
|
19 rm -f *.o *~ test |
4472 | 20 |
26427 | 21 .PHONY: all install dep depend *clean |