Moved all info and config flags for better readability and optimization

This commit is contained in:
TheDarkBug 2021-11-26 18:03:14 +01:00
parent e52a115e99
commit 445e8e260e
2 changed files with 392 additions and 350 deletions

View file

@ -2,7 +2,7 @@ NAME = uwufetch
FILES = uwufetch.c FILES = uwufetch.c
CFLAGS = -O3 CFLAGS = -O3
CFLAGS_DEBUG = -Wall -Wextra -g -pthread CFLAGS_DEBUG = -Wall -Wextra -g -pthread
CC = cc CC = cc
ifeq ($(shell uname), Linux) ifeq ($(shell uname), Linux)
PREFIX = /usr/bin PREFIX = /usr/bin
@ -20,8 +20,6 @@ else ifeq ($(shell uname), FreeBSD)
MANDIR = /usr/share/man/man1 MANDIR = /usr/share/man/man1
else ifeq ($(shell uname), windows32) else ifeq ($(shell uname), windows32)
CC = gcc CC = gcc
CFLAGS += -D__WINDOWS__
CFLAGS_DEBUG += -D__WINDOWS__
PREFIX = "C:\Program Files" PREFIX = "C:\Program Files"
LIBDIR = LIBDIR =
MANDIR = MANDIR =

File diff suppressed because it is too large Load diff