Mercurial > mplayer.hg
changeset 22680:29f59ec39e6e
Introduce OBJS variable for the list of objects to build.
author | diego |
---|---|
date | Sat, 17 Mar 2007 15:41:04 +0000 |
parents | 604a0943980f |
children | d15308c740a5 |
files | drivers/Makefile |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/drivers/Makefile Sat Mar 17 15:28:02 2007 +0000 +++ b/drivers/Makefile Sat Mar 17 15:41:04 2007 +0000 @@ -4,7 +4,9 @@ CFLAGS = -O2 -D__KERNEL__ -DMODULE -I$(KERNEL_INCLUDES) -Wall -include $(KERNEL_INCLUDES)/linux/modversions.h -all: mga_vid.o mga_vid_test tdfx_vid.o tdfx_vid_test +OBJS = mga_vid.o tdfx_vid.o + +all: $(OBJS) mga_vid_test tdfx_vid_test mga_vid.o: mga_vid.c mga_vid.h tdfx_vid.o: tdfx_vid.c 3dfx.h @@ -14,7 +16,7 @@ install: -mkdir -p $(MDIR) - install -m 644 mga_vid.o tdfx_vid.o $(MDIR) + install -m 644 $(OBJS) $(MDIR) depmod -a dep depend: