1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-23 01:43:01 +01:00

Makefile: add toxic version

This commit is contained in:
Ansa89 2014-06-23 22:32:10 +02:00
parent 717f8986cd
commit 1daa4c5ca6

View File

@ -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