[MPlayer-cvslog] r22805 - trunk/libdha/kernelhelper/Makefile

diego subversion at mplayerhq.hu
Sat Mar 24 16:25:07 CET 2007


Author: diego
Date: Sat Mar 24 16:25:07 2007
New Revision: 22805

Modified:
   trunk/libdha/kernelhelper/Makefile

Log:
Merge INCLUDES into CFLAGS and remove now redundant commands and rules.


Modified: trunk/libdha/kernelhelper/Makefile
==============================================================================
--- trunk/libdha/kernelhelper/Makefile	(original)
+++ trunk/libdha/kernelhelper/Makefile	Sat Mar 24 16:25:07 2007
@@ -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)



More information about the MPlayer-cvslog mailing list