diff --git a/Makefile b/Makefile
index d5bda47..a143f03 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
NAME = uwufetch
FILES = uwufetch.c
CFLAGS = -O3
-CFLAGS_DEBUG = -Wall -Wextra
+CFLAGS_DEBUG = -Wall -Wextra -g -pthread
ifeq ($(shell uname), Linux)
PREFIX = /usr/bin
LIBDIR = /usr/lib
@@ -11,9 +11,16 @@ else ifeq ($(shell uname), Darwin)
LIBDIR = /usr/local/lib
MANDIR = /usr/local/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)
diff --git a/res/COPYRIGHT.md b/res/COPYRIGHT.md
index e9617af..69aa891 100644
--- a/res/COPYRIGHT.md
+++ b/res/COPYRIGHT.md
@@ -67,7 +67,7 @@ I am not a copyright expert, and maybe I am doing all wrong things, please corre
## Endeavour OS
-
+
### Base artwork:
@@ -218,7 +218,7 @@ I am not a copyright expert, and maybe I am doing all wrong things, please corre
## OpenSuse
-
+
### Base artwork:
@@ -332,7 +332,7 @@ I am not a copyright expert, and maybe I am doing all wrong things, please corre
## VoidLinux
-
+
### Base artwork:
diff --git a/uwufetch.c b/uwufetch.c
index 6c0817f..c077b7c 100644
--- a/uwufetch.c
+++ b/uwufetch.c
@@ -406,7 +406,7 @@ void get_info()
break;
}
}
-
+#ifndef __FREEBSD__
while (fgets(line, sizeof(line), cpuinfo))
#ifdef __FREEBSD__
if (sscanf(line, "hw.model: %[^\n]", cpu_model))
@@ -415,6 +415,7 @@ void get_info()
#endif
break;
sprintf(user, "%s", getenv("USER"));
+#endif
if (iscygwin == 0)
fclose(os_release);
}