mirror of
https://github.com/tomasriveral/NoteWrapper.git
synced 2026-10-10 08:55:22 +02:00
Fix: version flag is now set with compiler flag
This commit is contained in:
1 parent
0eac451751
commit
ae168f92ce
3 files changed
+8
-2
No files matched your search
@@ -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