Fix warnings

This commit is contained in:
twinaphex
2018-02-21 14:46:01 +01:00
parent 5a813bd318
commit 9ad88b9c11
8 changed files with 21 additions and 16 deletions

View File

@@ -51,7 +51,12 @@ GIT_VERSION := " $(shell git rev-parse --short HEAD || echo unknown)"
ifneq ($(GIT_VERSION)," unknown")
CFLAGS += -DGIT_VERSION=\"$(GIT_VERSION)\"
endif
ifneq (,$(findstring msvc,$(platform)))
LIBM :=
else
LIBM := -lm
endif
LIBS :=
# Unix