Uwufetch now compiles on freebsd, but there is little to no info.
This commit is contained in:
parent
a93be06e0a
commit
b86783c774
2 changed files with 37 additions and 17 deletions
9
Makefile
9
Makefile
|
|
@ -1,7 +1,7 @@
|
|||
NAME = uwufetch
|
||||
FILES = uwufetch.c
|
||||
CFLAGS = -O3
|
||||
CFLAGS_DEBUG = -Wall -Wextra
|
||||
CFLAGS_DEBUG = -Wall -Wextra -g -thread
|
||||
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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue