mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-23 02:23:02 +01:00
Makefile: add toxic version
This commit is contained in:
parent
717f8986cd
commit
1daa4c5ca6
@ -1,6 +1,10 @@
|
|||||||
|
TOXIC_VERSION = 0.4.1
|
||||||
|
REV = $(shell git rev-list HEAD --count)
|
||||||
|
VERSION = $(TOXIC_VERSION)_r$(REV)
|
||||||
|
|
||||||
LIBS = libtoxcore ncurses
|
LIBS = libtoxcore ncurses
|
||||||
|
|
||||||
CFLAGS = -std=gnu99 -pthread
|
CFLAGS = -DTOXICVER="\"$(VERSION)\"" -std=gnu99 -pthread
|
||||||
LDFLAGS = -ldl -lresolv
|
LDFLAGS = -ldl -lresolv
|
||||||
DESTDIR ?= /usr/local
|
DESTDIR ?= /usr/local
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user