added version to config.mk
This commit is contained in:
parent
ce21043d64
commit
af9ae8a563
1 changed files with 4 additions and 1 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
VERSION = NaV
|
||||||
VERBOSE = 0
|
VERBOSE = 0
|
||||||
|
|
||||||
PREFIX = /usr/local
|
PREFIX = /usr/local
|
||||||
|
@ -10,6 +11,8 @@ LD = $(CC)
|
||||||
|
|
||||||
INCS = -Isrc/
|
INCS = -Isrc/
|
||||||
|
|
||||||
CFLAGS = -std=c99 -Wall -Wextra -pedantic -Os -D_POSIX_C_SOURCE=2 $(INCS)
|
DEFS = -D_POSIX_C_SOURCE=2 -DVERSION_STRING=\"$(VERSION)\"
|
||||||
|
|
||||||
|
CFLAGS = -std=c99 -Wall -Wextra -pedantic -Os $(DEFS) $(INCS)
|
||||||
LDFLAGS = -lxcb
|
LDFLAGS = -lxcb
|
||||||
CPPFLAGS = -MD -MP
|
CPPFLAGS = -MD -MP
|
||||||
|
|
Loading…
Add table
Reference in a new issue