# HG changeset patch # User diego # Date 1173902526 0 # Node ID 3c3aafe448cb1bc79e6b0a292da0a814975004df # Parent a6178eb55b89c3ce33c69f27beacebf64f6786e2 Rename VIDIX_CFLAGS to CFLAGS. diff -r a6178eb55b89 -r 3c3aafe448cb vidix/drivers/Makefile --- a/vidix/drivers/Makefile Wed Mar 14 20:01:04 2007 +0000 +++ b/vidix/drivers/Makefile Wed Mar 14 20:02:06 2007 +0000 @@ -4,10 +4,10 @@ VIDIX_LIBS = -L../../libdha -ldha VIDIX_LIBS_M = $(VIDIX_LIBS) -lm VIDIX_LIBS_X = $(VIDIX_LIBS_M) $(X_LIB) -VIDIX_CFLAGS = -fPIC -I. -I.. $(OPTFLAGS) +CFLAGS = -fPIC -I. -I.. $(OPTFLAGS) -RAGE128_CFLAGS=$(VIDIX_CFLAGS) -DRAGE128 -MGA_CRTC2_CFLAGS=$(VIDIX_CFLAGS) -DCRTC2 +RAGE128_CFLAGS=$(CFLAGS) -DRAGE128 +MGA_CRTC2_CFLAGS=$(CFLAGS) -DCRTC2 all: 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 \ @@ -19,7 +19,7 @@ # .PHONY: all clean %.o: %.c - $(CC) -c $(VIDIX_CFLAGS) -o $@ $< + $(CC) -c $(CFLAGS) -o $@ $< %.so: %.o $(CC) -shared $^ $(VIDIX_LIBS) -Wl,-soname,$@ -o $@