Added new config options, disabled optimization in makefile to prevent segmentation fault (i have no idea)
This commit is contained in:
parent
69fe7f2614
commit
3ce44faf68
4 changed files with 73 additions and 26 deletions
6
Makefile
6
Makefile
|
|
@ -1,6 +1,6 @@
|
|||
NAME = uwufetch
|
||||
FILES = uwufetch.c
|
||||
CFLAGS = -O3
|
||||
CFLAGS =
|
||||
CFLAGS_DEBUG = -Wall -Wextra
|
||||
PREFIX = /usr/bin
|
||||
CC = cc
|
||||
|
|
@ -9,12 +9,12 @@ MAN_COMPILER = pandoc
|
|||
build: $(FILES)
|
||||
$(CC) $(CFLAGS) -o $(NAME) $(FILES)
|
||||
$(MAN_COMPILER) $(NAME)_man.md -st man -o $(NAME).1
|
||||
@gzip $(NAME).1
|
||||
@#gzip $(NAME).1
|
||||
|
||||
debug:
|
||||
@clear
|
||||
$(CC) $(CFLAGS_DEBUG) -o $(NAME) $(FILES)
|
||||
./uwufetch --config ~/.config/uwufetch/config
|
||||
./uwufetch
|
||||
|
||||
install:
|
||||
cp $(NAME) $(DESTDIR)$(PREFIX)/$(NAME)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue