make: Tweaks for freebsd
[simavr] / examples / board_ledramp / Makefile
index 6a537d2..92dfc08 100644 (file)
@@ -30,11 +30,8 @@ VPATH = .
 VPATH += ../parts
 
 LDFLAGS += -lpthread
-ifneq (${shell uname}, Darwin)
-LDFLAGS += -lGL -lglut
-else
-LDFLAGS += -framework GLUT -framework OpenGL 
-endif
+
+include ../Makefile.opengl
 
 all: obj ${firmware} ${target}