neowofetch/Makefile

11 lines
No EOL
197 B
Makefile

NAME = owofetch
FILES = main.c
FLAGS = -O3 -Wall -Wextra
INSTALL_DIR = /usr/bin/
all: build install
build: main.c
gcc $(FLAGS) -o $(NAME) $(FILES)
install:
sudo cp $(NAME) $(INSTALL_DIR)$(NAME)