2019-04-18 20:38:19 +00:00
|
|
|
|
2023-11-22 14:36:33 +01:00
|
|
|
VPLUS = $(shell git status | awk '/modified:/{print "+"; exit}')
|
|
|
|
|
VERSION = "$(shell git log -n 1 | awk '{print substr($$2,1,10);exit}')$(VPLUS)"
|
|
|
|
|
|
2019-04-24 09:16:15 +00:00
|
|
|
DONTWARN = dangling-else parentheses stringop-truncation
|
2023-11-22 14:36:33 +01:00
|
|
|
CFLAGS = -O3 -Wall -g -fno-exceptions $(patsubst %,-Wno-%,$(DONTWARN)) -DIRENA_VERSION='$(VERSION)'
|
2019-04-20 09:47:09 +00:00
|
|
|
LDLIBS = -lm
|
2019-04-22 12:17:22 +00:00
|
|
|
default: irena
|