diff --git a/src/gallium/state_trackers/xa/Makefile b/src/gallium/state_trackers/xa/Makefile index b42e619..4f7cb65 100644 --- a/src/gallium/state_trackers/xa/Makefile +++ b/src/gallium/state_trackers/xa/Makefile @@ -29,7 +29,7 @@ OBJECTS = $(SOURCES:.c=.o) ##### RULES ##### .c.o: - $(CC) -c $(XA_CFLAGS) $(CFLAGS) $(XA_INCLUDES) $< + $(CC) -c $(XA_CFLAGS) $(CFLAGS) $(XA_INCLUDES) $(DEFINES) $(CFLAGS) $< ##### TARGETS ##### @@ -39,7 +39,7 @@ default: $(XA_LIB_NAME) # Make the library $(XA_LIB_NAME): depend $(OBJECTS) - $(CC) -r -nostdlib -o $(XA_LIB_NAME) $(OBJECTS) + $(CC) -r -nostdlib -o $(XA_LIB_NAME) $(OBJECTS) $(DEFINES) $(CFLAGS) install: FORCE