8 lines
332 B
Makefile
8 lines
332 B
Makefile
|
|
VPLUS = $(shell git status | awk '/modified:/{print "+"; exit}')
|
|
VERSION = "$(shell git log -n 1 | awk '{print substr($$2,1,10);exit}')$(VPLUS)"
|
|
|
|
DONTWARN = dangling-else parentheses stringop-truncation
|
|
CFLAGS = -O3 -Wall -g -fno-exceptions $(patsubst %,-Wno-%,$(DONTWARN)) -DIRENA_VERSION='$(VERSION)'
|
|
LDLIBS = -lm
|
|
default: irena
|