forked from nakidai/mycfetch
1
0
Fork 0

Edit Makefile to be more simpler

Nakidai 2023-11-23 20:03:50 +03:00
parent cb0f4619f4
commit c120ca4e5a
2 changed files with 3 additions and 7 deletions

View File

@ -1,15 +1,11 @@
CC := cc
CFLAGS :=
PREFIX ?= /usr/local
all: mycfetch
mycfetch: main.c config.h
$(CC) main.c -o mycfetch $(CFLAGS)
install: mycfetch
cp mycfetch /usr/bin/mycfetch
install -m 644 mycfetch $(PREFIX)/bin/
clean:
rm mycfetch
rm -f mycfetch
.PHONY: all install clean

View File