diff --git a/Makefile b/Makefile index f7d5141..0e91cee 100644 --- a/Makefile +++ b/Makefile @@ -35,13 +35,14 @@ else OUTPUT=cpufetch.exe endif +all: CFLAGS += -O3 all: $(OUTPUT) debug: CFLAGS += -g -O0 debug: $(OUTPUT) -release: CFLAGS += -static -O3 -release: $(OUTPUT) +static: CFLAGS += -static -O3 +static: $(OUTPUT) $(OUTPUT): Makefile $(SOURCE) $(HEADERS) $(CC) $(CFLAGS) $(SANITY_FLAGS) $(SOURCE) -o $(OUTPUT) @@ -55,9 +56,9 @@ clean: install: $(OUTPUT) install -Dm755 "cpufetch" "$(DESTDIR)$(PREFIX)/bin/cpufetch" install -Dm644 "LICENSE" "$(DESTDIR)$(PREFIX)/share/licenses/cpufetch-git/LICENSE" - install -Dm644 "cpufetch.8" "$(DESTDIR)$(PREFIX)/share/man/man8/cpufetch.8.gz" + install -Dm644 "cpufetch.1" "$(DESTDIR)$(PREFIX)/share/man/man1/cpufetch.1.gz" uninstall: rm -f "$(DESTDIR)$(PREFIX)/bin/cpufetch" rm -f "$(DESTDIR)$(PREFIX)/share/licenses/cpufetch-git/LICENSE" - rm -f "$(DESTDIR)$(PREFIX)/share/man/man8/cpufetch.8.gz" + rm -f "$(DESTDIR)$(PREFIX)/share/man/man1/cpufetch.1.gz" diff --git a/cpufetch.8 b/cpufetch.1 similarity index 100% rename from cpufetch.8 rename to cpufetch.1