changeset 22643:9807d7e5dee5

Split dependency and rule declaration, avoids duplicate command.
author diego
date Sat, 17 Mar 2007 00:41:18 +0000
parents 507ed8dcd772
children afae04da43ef
files drivers/radeon/Makefile
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/drivers/radeon/Makefile	Sat Mar 17 00:39:03 2007 +0000
+++ b/drivers/radeon/Makefile	Sat Mar 17 00:41:18 2007 +0000
@@ -21,8 +21,8 @@
 all: radeonfb.o radeon_vid.o rage128_vid.o
 
 radeonfb.o: radeonfb.c radeon.h
-	$(CC) $(CFLAGS) -c $<
 radeon_vid.o: radeon_vid.c radeon.h radeon_vid.h
+radeonfb.o radeon_vid.o:
 	$(CC) $(CFLAGS) -c $<
 rage128_vid.o: radeon_vid.c radeon.h radeon_vid.h
 	$(CC) $(CFLAGS) -DRAGE128 -c $< -o $@