Makefile: remove -DVERSION="unknown"
This is handled by the #ifndef in main.c
This commit is contained in:
parent
584ddb3654
commit
a663003bc5
4
Makefile
4
Makefile
|
@ -2,8 +2,8 @@
|
||||||
all:
|
all:
|
||||||
$(CC) -o among-sus $(CFLAGS) \
|
$(CC) -o among-sus $(CFLAGS) \
|
||||||
$$(git rev-parse --short HEAD >/dev/null 2>/dev/null && \
|
$$(git rev-parse --short HEAD >/dev/null 2>/dev/null && \
|
||||||
printf -- '-DVERSION="%s"' "$$(git rev-parse --short HEAD)" || \
|
printf -- '-DVERSION="%s"' "$$(git rev-parse --short HEAD)") \
|
||||||
printf -- '-DVERSION="unknown"') main.c $(LDFLAGS)
|
main.c $(LDFLAGS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f among-sus
|
rm -f among-sus
|
||||||
|
|
Loading…
Reference in New Issue