mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-08-29 17:39:28 +02:00
graphics: minor change to Makefile and configure
This splits and groups DEPSRCS better so errors are not seen trying to include files that are not present with no intention to build that source file.
This commit is contained in:
@@ -1384,7 +1384,7 @@ if test $usingTcl ; then
|
||||
AC_DEFINE(THREE_D)
|
||||
gr_dflags="$gr_dflags -DOGL"
|
||||
gr_libs="$gr_libs -lGL ${use_libglu} ${use_libxi} ${use_libxmu} ${use_libxext} -lm"
|
||||
gr_srcs="$gr_srcs \${TOGL_SRCS}"
|
||||
gr_srcs="$gr_srcs \${TOGL_GL_SRCS} \${TOGL_GLU_SRCS} \${THREE_D_GL_SRCS}"
|
||||
if ! test $usingX11 ; then
|
||||
usingX11=1
|
||||
gr_dflags="$gr_dflags -DXLIB"
|
||||
@@ -1411,7 +1411,7 @@ else
|
||||
if test $usingOGL ; then
|
||||
gr_dflags="$gr_dflags -DOGL"
|
||||
gr_libs="$gr_libs -lGL ${use_libglu} ${use_libxi} ${use_libxmu} ${use_libxext} -lm"
|
||||
gr_srcs="$gr_srcs \${OGL_SRCS}"
|
||||
gr_srcs="$gr_srcs \${OGL_GL_SRCS} \${OGL_GLU_SRCS}"
|
||||
if ! test $usingX11 ; then
|
||||
usingX11=1
|
||||
gr_libs="$gr_libs -lX11"
|
||||
|
||||
Reference in New Issue
Block a user