Mercurial > mplayer.hg
changeset 22673:40e45742e810
Remove now unnecessary MGA_VID_OBJ variable indirection.
author | diego |
---|---|
date | Sat, 17 Mar 2007 13:56:54 +0000 |
parents | dc001df30f79 |
children | fbfbc8605371 |
files | drivers/Makefile |
diffstat | 1 files changed, 3 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/drivers/Makefile Sat Mar 17 13:55:45 2007 +0000 +++ b/drivers/Makefile Sat Mar 17 13:56:54 2007 +0000 @@ -2,10 +2,9 @@ VERSION = $(shell grep UTS_RELEASE $(KERNEL_INCLUDES)/linux/version.h | cut -d '"' -f2) MDIR = /lib/modules/$(VERSION)/misc -MGA_VID_OBJ = mga_vid.o CFLAGS = -O2 -D__KERNEL__ -DMODULE -I$(KERNEL_INCLUDES) -Wall -include $(KERNEL_INCLUDES)/linux/modversions.h -all: $(MGA_VID_OBJ) mga_vid_test tdfx_vid.o tdfx_vid_test +all: mga_vid.o mga_vid_test tdfx_vid.o tdfx_vid_test mga_vid.o: mga_vid.c mga_vid.h $(CC) $(CFLAGS) -c $< @@ -19,9 +18,9 @@ tdfx_vid_test: tdfx_vid_test.c $(CC) -O -o $@ $< -install: $(MGA_VID_OBJ) +install: -mkdir -p $(MDIR) - install -m 644 $(MGA_VID_OBJ) $(MDIR) + install -m 644 mga_vid.o $(MDIR) depmod -a dep depend: