From 8a172fc0fa49bcaf50b5990fc573ab6464ce716b Mon Sep 17 00:00:00 2001 From: igor725 Date: Sat, 6 Apr 2019 16:16:52 +0300 Subject: [PATCH] Makefile fixes --- src/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Makefile b/src/Makefile index 02401536f..092912c93 100644 --- a/src/Makefile +++ b/src/Makefile @@ -9,7 +9,7 @@ ifndef $(PLAT) ifeq ($(OS),Windows_NT) PLAT=mingw else - PLAT=$(shell uname -s | tr -s '[:upper:]' '[:lower:]') + PLAT=$(shell uname -s | tr '[:upper:]' '[:lower:]') endif endif @@ -38,9 +38,10 @@ CFLAGS_darwin=-w -g -pipe BSDLIBS=-lcurl -lexecinfo -lopenal -lGL -lX11 -CC_freebsd=gcc +CC_freebsd=clang LIBS_freebsd=$(BSDLIBS) -lm -lpthread -INCDIRS_freebsd=-I /usr/local/include -L /usr/Xlocal/lib +INCDIRS_freebsd=-I /usr/local/include +LDFLAGS_freebsd=-L /usr/local/lib CFLAGS_freebsd=-w -g -pipe CC_openbsd=gcc