From 0c98fe0924facb30a175c49a5ddbf3201b31c6af Mon Sep 17 00:00:00 2001 From: Miepee Date: Thu, 30 May 2024 11:45:04 +0200 Subject: [PATCH] Rename make.sh to make-linux-build.sh --- .github/workflows/build-optimized.yml | 2 +- Makefile | 4 ++-- README.md | 6 +++--- configure | 4 ++-- make.sh => make-linux-build.sh | 0 make-maintainer.sh | 6 +++--- 6 files changed, 11 insertions(+), 11 deletions(-) rename make.sh => make-linux-build.sh (100%) diff --git a/.github/workflows/build-optimized.yml b/.github/workflows/build-optimized.yml index 7f2bdc2..101a393 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.sh + run: ./make-linux-build.sh - name: Zip to Archive run: zip -9 ./linux-x64.zip ./flips - name: Upload Artifacts diff --git a/Makefile b/Makefile index 2d2346d..e259d39 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.sh. +#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. 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.sh instead' + echo 'Compiled Floating IPS in debug mode; for better performance, use ./make-linux-build.sh instead' endif ifeq ($(TARGET),gtk) diff --git a/README.md b/README.md index d9e8c44..46f36a4 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.sh` to build an optimized binary; for development, use `make CFLAGS=-g` (ignore make-maintainer.sh) +- `./make-linux-build.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.sh +- For better optimizations (profiling/etc), extract the appropriate commands from Makefile and make-linux-build.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.sh +- `mingw32-make CFLAGS=-O3` (GUI is automatically enabled), or extract the appropriate optimization commands from make-linux-build.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 0037151..7c61699 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 <