From 3a1f1927081a551a3a6671eb4a90ecd85b80ad9c6eabef5a750f018fc5ad095a Mon Sep 17 00:00:00 2001 From: ADAM David Alan Martin Date: Tue, 5 May 2026 15:44:55 -0400 Subject: [PATCH] Move how Alepha builds. --- rebuild | 10 ++++++++++ src/Makefile.am | 4 ++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/rebuild b/rebuild index 128d165..8ad75bd 100755 --- a/rebuild +++ b/rebuild @@ -8,5 +8,15 @@ pushd .. ./autogen.sh popd +rm -fR alepha-build +mkdir alepha-build +cd alepha-build +echo "Setting up Alepha" +cmake -GNinja -DCMAKE_BUILD_TYPE=Release ../../Alepha +cp ../../Alepha/helpful-things/Makefile . +echo "Building Alepha" +make +cd .. + ../configure --prefix=/usr --enable-ipv6 CXXFLAGS="-O0 -g" make -kj${count} diff --git a/src/Makefile.am b/src/Makefile.am index 5eb7a0c..fb1be20 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -22,9 +22,9 @@ flenser_LDADD = \ $(top_builddir)/lout/liblout.a \ @LIBJPEG_LIBS@ @LIBPNG_LIBS@ @LIBWEBP_LIBS@ @LIBFLTK_LIBS@ @LIBZ_LIBS@ \ @LIBICONV_LIBS@ @LIBPTHREAD_LIBS@ @LIBX11_LIBS@ @LIBSSL_LIBS@ \ - -L $(top_builddir)/../Alepha/build/ -lalepha + -L $(top_builddir)/alepha-build/ -lalepha -flenser_LDFLAGS = -Wl,-rpath,'$$ORIGIN/../../Alepha/build/' +flenser_LDFLAGS = -Wl,-rpath,'$$ORIGIN/../alepha-build/' flenser_SOURCES = \