From 556907d2f28e542903dcab88498dbd8ba6f689cf Mon Sep 17 00:00:00 2001 From: Michel Pollet Date: Fri, 18 Feb 2011 15:52:52 +0000 Subject: [PATCH] Makefiles: Explicitely link opengl needed with modern linker Signed-off-by: Michel Pollet --- examples/board_ledramp/Makefile | 2 +- examples/board_simduino/Makefile | 2 +- examples/board_timer_64led/Makefile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/board_ledramp/Makefile b/examples/board_ledramp/Makefile index bafabae..0ee7d25 100644 --- a/examples/board_ledramp/Makefile +++ b/examples/board_ledramp/Makefile @@ -33,7 +33,7 @@ VPATH += ../parts LDFLAGS += -lpthread ifneq (${shell uname}, Darwin) -LDFLAGS += -lglut +LDFLAGS += -lGL -lglut else LDFLAGS += -framework GLUT -framework OpenGL endif diff --git a/examples/board_simduino/Makefile b/examples/board_simduino/Makefile index ae18250..a58576f 100644 --- a/examples/board_simduino/Makefile +++ b/examples/board_simduino/Makefile @@ -33,7 +33,7 @@ VPATH += ../parts LDFLAGS += -lpthread ifneq (${shell uname}, Darwin) -LDFLAGS += -lglut +LDFLAGS += -lGL -lglut else LDFLAGS += -framework GLUT -framework OpenGL endif diff --git a/examples/board_timer_64led/Makefile b/examples/board_timer_64led/Makefile index ecc286f..8acd495 100644 --- a/examples/board_timer_64led/Makefile +++ b/examples/board_timer_64led/Makefile @@ -33,7 +33,7 @@ VPATH += ../parts LDFLAGS += -lpthread ifneq (${shell uname}, Darwin) -LDFLAGS += -lglut +LDFLAGS += -lGL -lglut else LDFLAGS += -framework GLUT -framework OpenGL endif -- 2.39.5