mirror of
https://github.com/tomasriveral/NoteWrapper.git
synced 2026-08-12 02:18:38 +02:00
Fix: version flag is now set with compiler flag
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
CC := gcc
|
||||
|
||||
VERSION := $(shell git describe --tags --always --dirty)
|
||||
|
||||
CFLAGS := -Wall -Wextra -O2 \
|
||||
$(shell pkg-config --cflags libcjson ncurses)
|
||||
-DVERSION=\"$(VERSION)\" \
|
||||
$(shell pkg-config --cflags libcjson ncurses)
|
||||
|
||||
LDFLAGS := $(shell pkg-config --libs libcjson ncurses)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user