From 6349fe7d9019d8d70fb6e27037b18123a1699db6 Mon Sep 17 00:00:00 2001 From: Lian Drake Date: Wed, 23 Oct 2024 18:48:41 -0400 Subject: [PATCH] Fixed Makefile --- Makefile | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/Makefile b/Makefile index 722d165..f8465c2 100644 --- a/Makefile +++ b/Makefile @@ -6,19 +6,18 @@ OPTIMIZE = -O2 all: passgen passgen: Makefile passgen.c - $(CC) -o $@ $(WARNINGS) $(DEBUG) $(OPTIMIZE) passgen.c + $(CC) -o $@ $(WARNINGS) $(DEBUG) $(OPTIMIZE) passgen.c clean: - rm -f passgen + rm -f passgen -install: - install -Dm755 passgen $(DESTDIR)$(PREFIX)/bin/passgen - install -Dm644 passgen.1 $(DESTDIR)$(PREFIX)/share/man/man1/passgen.1 +install: all + install -Dm755 passgen $(DESTDIR)$(PREFIX)/bin/passgen + install -Dm644 passgen.1 $(DESTDIR)$(PREFIX)/share/man/man1/passgen.1 uninstall: - rm -f $(DESTDIR)$(PREFIX)/bin/passgen - rm -f $(DESTDIR)$(PREFIX)/share/man/man1/passgen.1 + rm -f $(DESTDIR)$(PREFIX)/bin/passgen + rm -f $(DESTDIR)$(PREFIX)/share/man/man1/passgen.1 run: - ./passgen - + ./passgen