diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-03-24 15:25:07 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-03-24 15:25:07 +0000 |
commit | 5db95cba6c99f49e0e4b8a628dff09020e7059af (patch) | |
tree | c564f442ef733d32f89ac7a81b615d5c86409d59 /libdha | |
parent | e5c9a24a8932d1a042594c59b92fb453a4424d26 (diff) | |
download | mpv-5db95cba6c99f49e0e4b8a628dff09020e7059af.tar.bz2 mpv-5db95cba6c99f49e0e4b8a628dff09020e7059af.tar.xz |
Merge INCLUDES into CFLAGS and remove now redundant commands and rules.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22805 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libdha')
-rw-r--r-- | libdha/kernelhelper/Makefile | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/libdha/kernelhelper/Makefile b/libdha/kernelhelper/Makefile index 661320e881..17c1de8e18 100644 --- a/libdha/kernelhelper/Makefile +++ b/libdha/kernelhelper/Makefile @@ -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) |