diff options
author | Chia-I Wu <[email protected]> | 2010-04-02 09:59:36 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2010-04-02 10:01:00 +0800 |
commit | 1054f22e480875b2d91c3d9ad1b85080e4705a35 (patch) | |
tree | ca5d1452274767d8099f96c3ad0526306ef36998 /progs/egl/opengles1/Makefile | |
parent | 87275e8fab51a906903e676f8f1762afe096aeb0 (diff) |
progs/egl: Link to eglut first.
This moves eglut before EGL so that the symbols can be resolved.
Diffstat (limited to 'progs/egl/opengles1/Makefile')
-rw-r--r-- | progs/egl/opengles1/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/progs/egl/opengles1/Makefile b/progs/egl/opengles1/Makefile index 27caa0cd0f6..c575a9703ed 100644 --- a/progs/egl/opengles1/Makefile +++ b/progs/egl/opengles1/Makefile @@ -91,9 +91,9 @@ $(foreach demo, $(EGLUT_DEMOS), $(eval $(call eglut-demo-rule,$(demo)))) # build EGLUT demos $(EGLUT_X11_DEMOS): - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(ES1_LIBS) -L$(EGLUT_DIR) -leglut-$* -lX11 -$(EGLUT_SCREEN_DEMOS): - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(ES1_LIBS) -L$(EGLUT_DIR) -leglut-$* + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< -L$(EGLUT_DIR) -leglut-$* $(ES1_LIBS) -lX11 +$(EGLUT_SCREEN_DEMOS): + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< -L$(EGLUT_DIR) -leglut-$* $(ES1_LIBS) clean: |