# HG changeset patch # User diego # Date 1174092725 0 # Node ID ca72ca36b4fddd629e4e33c4c5572560cfc9b1be # Parent 8c20203d98ca0332f491f13a02e887891036c8d3 Simplify compilation command. diff -r 8c20203d98ca -r ca72ca36b4fd drivers/Makefile --- a/drivers/Makefile Sat Mar 17 00:45:56 2007 +0000 +++ b/drivers/Makefile Sat Mar 17 00:52:05 2007 +0000 @@ -20,19 +20,19 @@ # 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