diff options
| author | 2026-02-14 15:55:59 +0330 | |
|---|---|---|
| committer | 2026-02-14 15:55:59 +0330 | |
| commit | df43501d9d6b2074e9396c6ebcf53572391c9e58 (patch) | |
| tree | 4a2be50da91e3b3b5492bcab9949b916339ed643 /Makefile | |
| parent | first commit. (diff) | |
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
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 |
