mirror of
https://github.com/mpv-player/mpv
synced 2025-01-16 22:37:28 +01:00
Remove now unnecessary MGA_VID_OBJ variable indirection.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22691 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
26248f7480
commit
d7640773b1
@ -2,10 +2,9 @@ KERNEL_INCLUDES = /lib/modules/`uname -r`/build/include
|
||||
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.o: tdfx_vid.c 3dfx.h
|
||||
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:
|
||||
|
Loading…
Reference in New Issue
Block a user