From df43501d9d6b2074e9396c6ebcf53572391c9e58 Mon Sep 17 00:00:00 2001 From: Moon Flower Date: Sat, 14 Feb 2026 15:55:59 +0330 Subject: readme+makefile+staticexe --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..7625e5b --- /dev/null +++ b/Makefile @@ -0,0 +1,6 @@ +all: + rm -f stopwatch + clang stopwatch.c -o stopwatch -Oz -static -flto -ffreestanding -ffunction-sections -fdata-sections -Wl,--gc-sections + strip --strip-all stopwatch + @echo "-- IF YOU DO NOT HAVE UPX, THE BUILD WILL FAIL! IF YOU DO NOT NEED THE EXTRA JUICE SQUEEZE, THIS IS FINE." + upx --best --ultra-brute stopwatch -- cgit v1.2.3