Mercurial > mplayer.hg
changeset 22787:52c7adc44032
Merge INCLUDES into CFLAGS and remove now redundant commands and rules.
author | diego |
---|---|
date | Sat, 24 Mar 2007 15:25:07 +0000 |
parents | a92b69a7224c |
children | 16aa0544c85d |
files | libdha/kernelhelper/Makefile |
diffstat | 1 files changed, 2 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/libdha/kernelhelper/Makefile Sat Mar 24 15:15:28 2007 +0000 +++ b/libdha/kernelhelper/Makefile Sat Mar 24 15:25:07 2007 +0000 @@ -1,16 +1,12 @@ KERNEL_INC = /usr/src/linux/include -INCLUDES = -I$(KERNEL_INC) -CFLAGS = -O2 -D__KERNEL__ -DMODULE -include $(KERNEL_INC)/linux/modversions.h +CFLAGS = -O2 -D__KERNEL__ -DMODULE -I$(KERNEL_INC) \ + -include $(KERNEL_INC)/linux/modversions.h VERSION = $(shell grep RELEASE $(KERNEL_INC)/linux/version.h | cut -d'"' -f2) MDIR = /lib/modules/$(VERSION)/misc all: dhahelper.o test dhahelper.o: dhahelper.c dhahelper.h - $(CC) $(CFLAGS) $(INCLUDES) -c $(basename $@).c - -test: test.c - $(CC) -O $(INCLUDES) -o $@ $@.c install: dhahelper.o -mkdir -p $(MDIR)