Fixed installing process on freebsd

This commit is contained in:
TheDarkBug 2021-07-24 12:56:18 +02:00
parent d12f45aaa4
commit 8a576e5e02

View file

@ -10,16 +10,17 @@ else ifeq ($(shell uname), Darwin)
PREFIX = /usr/local/bin
LIBDIR = /usr/local/lib
MANDIR = /usr/local/share/man/man1
else ifeq ($(shell uname), FreeBSD)
CFLAGS += -D__FREEBSD__
CFLAGS_DEBUG += -D__FREEBSD__
PREFIX = /usr/bin
LIBDIR = /usr/lib
MANDIR = /usr/share/man/man1
endif
CC = cc
MAN_COMPILER = pandoc
ifeq ($(shell uname), FreeBSD)
CFLAGS += -D__FREEBSD__
CFLAGS_DEBUG += -D__FREEBSD__
endif
build: $(FILES)
$(CC) $(CFLAGS) -o $(NAME) $(FILES)