Merge test rules using general pattern.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22693 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2007-03-17 14:00:34 +00:00
parent 48871ecebe
commit 53a7ba6ae4
1 changed files with 1 additions and 4 deletions

View File

@ -9,13 +9,10 @@ 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 $<
mga_vid_test: mga_vid_test.c
$(CC) -O -o $@ $<
tdfx_vid.o: tdfx_vid.c 3dfx.h
$(CC) $(CFLAGS) -c $<
tdfx_vid_test: tdfx_vid_test.c
%_test: %_test.c
$(CC) -O -o $@ $<
install: