Simplify compilation command.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22665 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2007-03-17 00:52:05 +00:00
parent dcf70a9e9c
commit 4155dd2cb9
1 changed files with 3 additions and 3 deletions

View File

@ -20,19 +20,19 @@ endif
# sis_vid.o
mga_vid.o: mga_vid.c mga_vid.h
$(CC) $(CFLAGS) $(INCLUDES) -c $(basename $@).c
$(CC) $(CFLAGS) $(INCLUDES) -c $<
mga_vid.ko: mga_vid.c mga_vid.h
$(MAKE) -C $(KERNEL_DIR) SUBDIRS=$(PWD) modules
sis_vid.o: sis_vid.c sis_vid.h
$(CC) $(CFLAGS) $(INCLUDES) -c $(basename $@).c
$(CC) $(CFLAGS) $(INCLUDES) -c $<
mga_vid_test: mga_vid_test.c
$(CC) -O $(INCLUDES) -o $@ $@.c
tdfx_vid.o: tdfx_vid.c 3dfx.h
$(CC) $(CFLAGS) $(INCLUDES) -c $(basename $@).c
$(CC) $(CFLAGS) $(INCLUDES) -c $<
tdfx_vid_tst: tdfx_vid_tst.c
$(CC) -O $(INCLUDES) -o $@ $@.c