From: Michel Pollet Date: Fri, 18 Feb 2011 15:52:52 +0000 (+0000) Subject: Makefiles: Explicitely link opengl X-Git-Tag: v1.0a7~38 X-Git-Url: https://git.htl-mechatronik.at/public/?a=commitdiff_plain;h=556907d2f28e542903dcab88498dbd8ba6f689cf;p=sx%2Fsimavr.git Makefiles: Explicitely link opengl needed with modern linker Signed-off-by: Michel Pollet --- 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