diff options
author | Brian Paul <[email protected]> | 2006-03-09 16:24:46 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2006-03-09 16:24:46 +0000 |
commit | 0d57301ba20568953b9196a4e191cd5656b22370 (patch) | |
tree | 64c9d1a42790a8624eed53a1217e970989a060aa /src | |
parent | 12d51beb7e2fd3bd4b58c941db4d0188dca5973d (diff) |
Instead of adding extra flags to DEFINES with +=, define EXTRA_DEFINES instead.
This eliminates a bunch of duplication in the compilation commmands.
Diffstat (limited to 'src')
-rw-r--r-- | src/glx/x11/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/glx/x11/Makefile b/src/glx/x11/Makefile index 84e244501ae..977967ac2fa 100644 --- a/src/glx/x11/Makefile +++ b/src/glx/x11/Makefile @@ -1,7 +1,7 @@ TOP = ../../.. include $(TOP)/configs/current -DEFINES += -DXF86VIDMODE -D_REENTRANT -UIN_DRI_DRIVER +EXTRA_DEFINES = -DXF86VIDMODE -D_REENTRANT -UIN_DRI_DRIVER SOURCES = \ glcontextmodes.c \ @@ -53,10 +53,10 @@ INCLUDES = -I. \ ##### RULES ##### .c.o: - $(CC) -c $(INCLUDES) $(CFLAGS) $(DEFINES) $< -o $@ + $(CC) -c $(INCLUDES) $(CFLAGS) $(EXTRA_DEFINES) $< -o $@ .S.o: - $(CC) -c $(INCLUDES) $(CFLAGS) $(DEFINES) $< -o $@ + $(CC) -c $(INCLUDES) $(CFLAGS) $(EXTRA_DEFINES) $< -o $@ ##### TARGETS ##### |