diff drivers/Makefile @ 22649:0495a7675c28

Simplify compilation commands.
author diego
date Sat, 17 Mar 2007 00:56:45 +0000
parents 9c884a0a8375
children f1fbb2f0e659
line wrap: on
line diff
--- a/drivers/Makefile	Sat Mar 17 00:53:53 2007 +0000
+++ b/drivers/Makefile	Sat Mar 17 00:56:45 2007 +0000
@@ -26,13 +26,13 @@
 	$(MAKE) -C $(KERNEL_DIR) SUBDIRS=$(PWD) modules
 
 mga_vid_test: mga_vid_test.c
-	$(CC) -O $(INCLUDES) -o $@ $@.c
+	$(CC) -O $(INCLUDES) -o $@ $<
 
 tdfx_vid.o: tdfx_vid.c 3dfx.h
 	$(CC) $(CFLAGS) $(INCLUDES) -c $<
 
 tdfx_vid_tst: tdfx_vid_tst.c
-	$(CC) -O $(INCLUDES) -o $@ $@.c
+	$(CC) -O $(INCLUDES) -o $@ $<
 
 install: mga_vid.o
 	-mkdir -p $(MDIR)