From c6c96944ae1bb1d7363349ec21be9dca76ee9ec4 Mon Sep 17 00:00:00 2001 From: Takamichi Horikawa Date: Tue, 4 Apr 2017 23:57:39 +0900 Subject: gtk: add Oscilloscope view OpenGL renderer --- gtk/Makefile.am | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'gtk/Makefile.am') diff --git a/gtk/Makefile.am b/gtk/Makefile.am index 0247644..3524f15 100644 --- a/gtk/Makefile.am +++ b/gtk/Makefile.am @@ -42,7 +42,6 @@ endif fmplayer_SOURCES=main.c \ toneview.c \ - oscilloview.c \ ../tonedata/tonedata.c \ ../common/fmplayer_file.c \ ../common/fmplayer_file_gio.c \ @@ -50,3 +49,9 @@ fmplayer_SOURCES=main.c \ $(FMDRIVER_SRC) \ $(FMDSP_SRC) +if ENABLE_OPENGL +fmplayer_SOURCES+=oscilloview-gl.c +fmplayer_LDADD+=-lGL +else +fmplayer_SOURCES+=oscilloview.c +endif -- cgit v1.2.3