From fbfecda6ae9cf3ccaa1cef3ea60dfec12ca6e503 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Tue, 27 Apr 2010 14:13:13 +0800 Subject: progs/egl: Add egl/eglut to PROGRAM_DIRS. Make sure eglut is built before the demos. This should work more reliably with make -j. --- progs/egl/opengl/Makefile | 4 ---- 1 file changed, 4 deletions(-) (limited to 'progs/egl/opengl') diff --git a/progs/egl/opengl/Makefile b/progs/egl/opengl/Makefile index 20158b1f0b..79cd5fc653 100644 --- a/progs/egl/opengl/Makefile +++ b/progs/egl/opengl/Makefile @@ -62,9 +62,6 @@ xeglgears: xeglgears.o $(HEADERS) $(LIB_DEP) xeglthreads: xeglthreads.o $(HEADERS) $(LIB_DEP) $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) -lpthread -lm $(X11_LIBS) -$(EGLUT_DIR)/libeglut-x11.a $(EGLUT_DIR)/libeglut-screen.a: - @$(MAKE) -C $(EGLUT_DIR) - # define the rules for EGLUT demos define eglut-demo-rule $(1)_x11 $(1)_screen: $(1)_%: $(1).o $(EGLUT_DIR)/libeglut-%.a $(LIB_DEP) @@ -80,4 +77,3 @@ $(EGLUT_SCREEN_DEMOS): clean: -rm -f *.o *~ -rm -f $(PROGRAMS) $(EGLUT_X11_DEMOS) $(EGLUT_SCREEN_DEMOS) - @$(MAKE) -C $(EGLUT_DIR) clean -- cgit v1.2.3