diff options
author | Brian Paul <[email protected]> | 2008-05-27 16:48:23 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-05-27 16:48:23 -0600 |
commit | 6052af172f0241e6678cd16efac0a0f14f40146c (patch) | |
tree | defc05f9ffee989aac7faf6d7ba690f5f11e4e93 /src/egl/main/Makefile | |
parent | 721ba15bf4596b2e9589e7656005b387724875c3 (diff) |
minor overhaul/re-org of driver selection/loading code
Diffstat (limited to 'src/egl/main/Makefile')
-rw-r--r-- | src/egl/main/Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/egl/main/Makefile b/src/egl/main/Makefile index e1058a23f70..0efcd4e605b 100644 --- a/src/egl/main/Makefile +++ b/src/egl/main/Makefile @@ -16,7 +16,8 @@ HEADERS = \ eglhash.h \ eglmode.h \ eglscreen.h \ - eglsurface.h + eglsurface.h \ + eglx.h SOURCES = \ eglapi.c \ @@ -29,13 +30,17 @@ SOURCES = \ eglhash.c \ eglmode.c \ eglscreen.c \ - eglsurface.c + eglsurface.c \ + eglx.c OBJECTS = $(SOURCES:.c=.o) +LOCAL_CFLAGS = -D_EGL_PLATFORM_X=1 + + .c.o: - $(CC) -c $(INCLUDE_DIRS) $(CFLAGS) $< -o $@ + $(CC) -c $(INCLUDE_DIRS) $(CFLAGS) $(LOCAL_CFLAGS) $< -o $@ |