Commit Graph

17 Commits

Author SHA1 Message Date
Geoffrey D. Bennett
da4be2993e Update flatpak to GNOME 47 2025-02-21 04:08:25 +10:30
unhappy-ending
c5b1ff0b94 Update Makefile to use $(CC) rather than cc
Calling cc directly causes a build failure on Clang/LLVM based Gentoo
machines that use LLVM specific toolchain flags.
2024-05-17 18:30:13 +09:30
Geoffrey D. Bennett
a940db51c2 Add -fPIE and -pie build flags to fix flatpak build under Fedora 2024-04-11 18:13:21 +09:30
Geoffrey D. Bennett
9026eb76c5 Add support for firmware update 2024-03-24 17:06:17 +10:30
Geoffrey D. Bennett
c9441b2591 Move -lm into LDFLAGS 2024-03-12 01:43:07 +10:30
Geoffrey D. Bennett
b2823e79be Bump copyright year 2024-02-08 18:08:34 +10:30
Jason A. Donenfeld
4cb1cd6e57 Makefile: prefer distro cflags if specified
The compilation flags that are necessary for building and part of the
developer's intentions belong in the `+=` section, but the base flags
that distros like to override belong in a `?=` section, so that build
systems using their own are respected.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2023-12-01 14:19:36 +10:30
sporksnail
1211746b9e src/Makefile: Respect CFLAGS from environment 2023-11-30 12:44:03 +10:30
Geoffrey D. Bennett
3595f5ccf5 Update Makefile to get version from $APP_VERSION
If git describe fails, check $APP_VERSION, otherwise set the version
to "Unknown".
2023-11-15 00:00:28 +10:30
Alejandro Domínguez
5637e411d4 Change icon file name
It's a good idea to use the new FreeDesktop conventions for
file names. It adapts better to stuff like Flatpak.
2023-10-19 03:38:07 +10:30
Geoffrey D. Bennett
fb9ccfed49 Fix building with Gtk 4.10
Add -Wno-error=deprecated-declarations to the Makefile so that it
can build when using Gtk 4.10.
2023-09-07 02:10:48 +09:30
Geoffrey D. Bennett
f70c0cb409 Add help target to src/Makefile 2022-03-17 01:32:22 +10:30
KottV
c7881dfae9 Fix linking in OBS
Fixes #5.
2022-03-17 00:46:42 +10:30
Geoffrey D. Bennett
f0b3d3d01d Don't hardcode the version number in the about dialog
Update the Makefile to use git describe to get the version number and
define that as a macro that about.c can use.
2022-03-15 23:21:17 +10:30
Geoffrey D. Bennett
a55fe4cb5b Add copyright info to the Makefile 2022-03-15 23:15:53 +10:30
Geoffrey D. Bennett
8257949e5d Add desktop and icon files and install into the correct place
Remove 48x48 icon; use 256x256 icon only.
Remove icons from the executable.
No need to call gtk_window_set_default_icon_name() anymore.
Add desktop file.
Add install and uninstall Makefile targets.
Update USAGE.md with installation instructions.
Thanks to @szszoke for figuring this one out!

Fixes #2.
2022-03-15 01:29:56 +10:30
Geoffrey D. Bennett
17b4d2f055 Initial revision 2022-03-14 09:24:43 +10:30