diff --git a/c3s/configure b/c3s/configure
index 21bee48..51512b3 100755
--- a/c3s/configure
+++ b/c3s/configure
@@ -24,7 +24,7 @@ PROG_DEBUG=c3s_debug
. ./sources.sh
-OBJECTS="$(c2lo "$SOURCES")"
+OBJECTS="$(c2ext .main.lo "$SOURCES")"
echo "OBJECTS = $OBJECTS" >> ${CONFIG_MK}
OBJECTS_ASAN="$(c2ext .asan.lo "$SOURCES")"
diff --git a/ic3/configure b/ic3/configure
index 515b223..c512dcd 100755
--- a/ic3/configure
+++ b/ic3/configure
@@ -24,7 +24,7 @@ PROG_DEBUG=ic3_debug
. ./sources.sh
-OBJECTS="$(c2lo "$SOURCES")"
+OBJECTS="$(c2ext .main.lo "$SOURCES")"
echo "OBJECTS = $OBJECTS" >> ${CONFIG_MK}
OBJECTS_ASAN="$(c2ext .asan.lo "$SOURCES")"
diff --git a/test/configure b/test/configure
index 0c76b57..34db84f 100755
--- a/test/configure
+++ b/test/configure
@@ -24,7 +24,7 @@ PROG_DEBUG=libc3_test_debug
. ./sources.sh
-OBJECTS="$(c2lo "$SOURCES")"
+OBJECTS="$(c2ext .main.lo "$SOURCES")"
echo "OBJECTS = $OBJECTS" >> ${CONFIG_MK}
OBJECTS_ASAN="$(c2ext .asan.lo "$SOURCES")"