From b9337ec7f6f29f2a6b15e7113c1c446ede439ee7 Mon Sep 17 00:00:00 2001 From: Sir Walrus Date: Thu, 30 May 2024 11:53:44 +0200 Subject: [PATCH] Rename make-linux-build.sh to make-linux.sh --- .github/workflows/build-optimized.yml | 2 +- Makefile | 4 ++-- README.md | 6 +++--- configure | 4 ++-- make-linux-build.sh => make-linux.sh | 0 make-maintainer.sh | 6 +++--- 6 files changed, 11 insertions(+), 11 deletions(-) rename make-linux-build.sh => make-linux.sh (100%) diff --git a/.github/workflows/build-optimized.yml b/.github/workflows/build-optimized.yml index 101a393..3d1f163 100644 --- a/.github/workflows/build-optimized.yml +++ b/.github/workflows/build-optimized.yml @@ -12,7 +12,7 @@ jobs: - name: Dependencies run: dnf install -y gtk3-devel zip - name: Build - run: ./make-linux-build.sh + run: ./make-linux.sh - name: Zip to Archive run: zip -9 ./linux-x64.zip ./flips - name: Upload Artifacts diff --git a/Makefile b/Makefile index e259d39..91e3eb9 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -#This script creates a debug-optimized binary by default. If you're on Linux, you'll get a faster binary from make-linux-build.sh. +#This script creates a debug-optimized binary by default. If you're on Linux, you'll get a faster binary from make-linux.sh. SRCDIR := $(abspath $(patsubst %/,%,$(dir $(abspath $(lastword $(MAKEFILE_LIST)))))) @@ -91,7 +91,7 @@ endif $(FNAME_$(TARGET)): $(SOURCES) $(XFILES) $(CXX) $^ -std=c++98 $(CFLAGS_G) $(MOREFLAGS) $(CPPFLAGS) $(CFLAGS) $(CXXFLAGS) $(LFLAGS) -o$@ ifeq ($(CFLAGS),-g) - echo 'Compiled Floating IPS in debug mode; for better performance, use ./make-linux-build.sh instead' + echo 'Compiled Floating IPS in debug mode; for better performance, use ./make-linux.sh instead' endif ifeq ($(TARGET),gtk) diff --git a/README.md b/README.md index 46f36a4..332a08a 100644 --- a/README.md +++ b/README.md @@ -20,18 +20,18 @@ Third-party forks, or separate tools, covering usecases this version doesn't (th Compilation - Linux: - `sudo apt-get install g++ build-essential`; for GUI support, also `sudo apt-get install libgtk-3-dev pkg-config`; adjust for your distro if necessary -- `./make-linux-build.sh` to build an optimized binary; for development, use `make CFLAGS=-g` (ignore make-maintainer.sh) +- `./make-linux.sh` to build an optimized binary; for development, use `make CFLAGS=-g` (ignore make-maintainer.sh) - Alternatively, if you prefer binaries, `flatpak install com.github.Alcaro.Flips` Compilation - OSX, other Unix, or anything else with a C++ compiler: - Install a C++ compiler - `clang++ *.c *.cpp -O3 -o flips` (with changes as appropriate) - For GTK GUI support, use some suitable variant of `clang++ *.c *.cpp -O3 -o flips -DFLIPS_GTK -lgtk3` -- For better optimizations (profiling/etc), extract the appropriate commands from Makefile and make-linux-build.sh +- For better optimizations (profiling/etc), extract the appropriate commands from Makefile and make-linux.sh Compilation - Windows: - Install [mingw-w64](https://winlibs.com/), or similar -- `mingw32-make CFLAGS=-O3` (GUI is automatically enabled), or extract the appropriate optimization commands from make-linux-build.sh +- `mingw32-make CFLAGS=-O3` (GUI is automatically enabled), or extract the appropriate optimization commands from make-linux.sh - Alternatively, [here's a binary](https://www.smwcentral.net/?p=section&a=details&id=11474) (though it's quite outdated). Usage: diff --git a/configure b/configure index 7c61699..309283a 100755 --- a/configure +++ b/configure @@ -5,9 +5,9 @@ # (to find which dependencies are missing), it's the best place to put compilation instructions. cat <