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:
|
||||
$(CC) -o among-sus $(CFLAGS) \
|
||||
$$(git rev-parse --short HEAD >/dev/null 2>/dev/null && \
|
||||
printf -- '-DVERSION="%s"' "$$(git rev-parse --short HEAD)" || \
|
||||
printf -- '-DVERSION="unknown"') main.c $(LDFLAGS)
|
||||
printf -- '-DVERSION="%s"' "$$(git rev-parse --short HEAD)") \
|
||||
main.c $(LDFLAGS)
|
||||
|
||||
clean:
|
||||
rm -f among-sus
|
||||
|
|
Loading…
Reference in New Issue