changeset 22562:cec71e2a04ad

Remove superfluous variable indirection.
author diego
date Wed, 14 Mar 2007 20:27:46 +0000
parents 32a0bd959b1e
children 6398fe5193ef
files vidix/drivers/Makefile
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/vidix/drivers/Makefile	Wed Mar 14 20:19:45 2007 +0000
+++ b/vidix/drivers/Makefile	Wed Mar 14 20:27:46 2007 +0000
@@ -7,8 +7,6 @@
 VIDIX_LIBS_X = $(VIDIX_LIBS_M) $(X_LIB)
 
 CFLAGS           = -fPIC
-RAGE128_CFLAGS   = $(CFLAGS) -DRAGE128
-MGA_CRTC2_CFLAGS = $(CFLAGS) -DCRTC2
 
 libs:   cyberblade_vid.so radeon_vid.so rage128_vid.so mach64_vid.so \
         nvidia_vid.so mga_vid.so mga_crtc2_vid.so pm3_vid.so \
@@ -18,10 +16,10 @@
 	$(CC) -shared $^ $(VIDIX_LIBS) -Wl,-soname,$@ -o $@
 
 mga_crtc2_vid.o: mga_vid.c
-	$(CC) -c $(MGA_CRTC2_CFLAGS) -o $@ $<
+	$(CC) -c $(CFLAGS) -DCRTC2 -o $@ $<
 
 rage128_vid.o: radeon_vid.c
-	$(CC) -c $(RAGE128_CFLAGS) -o $@ $<
+	$(CC) -c $(CFLAGS) -DRAGE128 -o $@ $<
 
 sis_vid.so: sis_vid.o sis_bridge.o