From 50c9fb24488c21d85abe8fbc85f75cee152a7b29 Mon Sep 17 00:00:00 2001 From: Lassi Kortela Date: Wed, 14 Aug 2019 13:48:53 +0300 Subject: [PATCH] Sort .c and .o files in build.sh --- scripts/build.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/build.sh b/scripts/build.sh index 4e38b05..d9ccdf8 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -11,8 +11,6 @@ o_files="$o_files env_unix.o" o_files="$o_files equalhash.o" o_files="$o_files flisp.o" o_files="$o_files flmain.o" -o_files="$o_files os_$os.o" -o_files="$o_files os_unix.o" o_files="$o_files hashing.o" o_files="$o_files htable.o" o_files="$o_files int2str.o" @@ -20,6 +18,8 @@ o_files="$o_files ios.o" o_files="$o_files iostream.o" o_files="$o_files libraries.o" o_files="$o_files lltinit.o" +o_files="$o_files os_$os.o" +o_files="$o_files os_unix.o" o_files="$o_files ptrhash.o" o_files="$o_files random.o" o_files="$o_files socket.o" @@ -89,8 +89,6 @@ $CC $CFLAGS -c ../c/dump.c $CC $CFLAGS -c ../c/env_unix.c $CC $CFLAGS -c ../c/equalhash.c $CC $CFLAGS -c ../c/flisp.c -$CC $CFLAGS -c ../c/os_"$os".c -$CC $CFLAGS -c ../c/os_unix.c $CC $CFLAGS -c ../c/hashing.c $CC $CFLAGS -c ../c/htable.c $CC $CFLAGS -c ../c/int2str.c @@ -98,6 +96,8 @@ $CC $CFLAGS -c ../c/ios.c $CC $CFLAGS -c ../c/iostream.c $CC $CFLAGS -c ../c/libraries.c $CC $CFLAGS -c ../c/lltinit.c +$CC $CFLAGS -c ../c/os_"$os".c +$CC $CFLAGS -c ../c/os_unix.c $CC $CFLAGS -c ../c/ptrhash.c $CC $CFLAGS -c ../c/random.c $CC $CFLAGS -c ../c/socket.c