changeset 22642:507ed8dcd772

Simplify compilation commands.
author diego
date Sat, 17 Mar 2007 00:39:03 +0000
parents a996a2673bd7
children 9807d7e5dee5
files drivers/radeon/Makefile
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/drivers/radeon/Makefile	Sat Mar 17 00:28:59 2007 +0000
+++ b/drivers/radeon/Makefile	Sat Mar 17 00:39:03 2007 +0000
@@ -21,11 +21,11 @@
 all: radeonfb.o radeon_vid.o rage128_vid.o
 
 radeonfb.o: radeonfb.c radeon.h
-	$(CC) $(CFLAGS) $(INCLUDES) -c $(basename $@).c
+	$(CC) $(CFLAGS) -c $<
 radeon_vid.o: radeon_vid.c radeon.h radeon_vid.h
-	$(CC) $(CFLAGS) $(INCLUDES) -c $(basename $@).c
+	$(CC) $(CFLAGS) -c $<
 rage128_vid.o: radeon_vid.c radeon.h radeon_vid.h
-	$(CC) $(CFLAGS) -DRAGE128 $(INCLUDES) -c radeon_vid.c -o $@
+	$(CC) $(CFLAGS) -DRAGE128 -c $< -o $@
 
 dep depend: