mirror of
https://github.com/mpv-player/mpv
synced 2024-12-29 10:32:15 +00:00
Introduce OBJS variable for the list of objects to build.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22698 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
f9c809a87b
commit
36125350e4
@ -4,7 +4,9 @@ MDIR = /lib/modules/$(VERSION)/misc
|
||||
|
||||
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 @@ tdfx_vid.o: tdfx_vid.c 3dfx.h
|
||||
|
||||
install:
|
||||
-mkdir -p $(MDIR)
|
||||
install -m 644 mga_vid.o tdfx_vid.o $(MDIR)
|
||||
install -m 644 $(OBJS) $(MDIR)
|
||||
depmod -a
|
||||
|
||||
dep depend:
|
||||
|
Loading…
Reference in New Issue
Block a user