diff options
| author | 2025-12-08 09:31:13 +0100 | |
|---|---|---|
| committer | 2025-12-08 09:31:13 +0100 | |
| commit | a9c31317048a4f1688d253bf158d75bfe068f703 (patch) | |
| tree | 0656e02a5ab9ce2959ae9c465d0faa397e0052a7 /Makefile | |
| parent | 86a61b7dec45ddeed4574353b9630e3ff5a7e27c (diff) | |
| download | tweetpipe-a9c31317048a4f1688d253bf158d75bfe068f703.tar.gz | |
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1,6 +1,9 @@ +VERSION := $(shell git describe --tags --dirty --always) + PREFIX ?= /usr/local WFLAGS ?= -Wall -Wextra -Wmissing-prototypes -Wdiv-by-zero -Wbad-function-cast -Wcast-align -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wnested-externs -Wno-unknown-pragmas -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wswitch-enum -Wno-type-limits CFLAGS ?= -O3 -mtune=native -fno-exceptions -flto $(WFLAGS) +CFLAGS += -DVERSION_STRING=\"$(VERSION)\" CPPFLAGS += -I. -Iext STRIP ?= strip |