From 7893ea5cd4252a8644415657af6c023425dd1c8e Mon Sep 17 00:00:00 2001 From: sloum Date: Thu, 6 Feb 2020 20:49:46 -0800 Subject: [PATCH] Updates the makefile to clean before and after install --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 409d99e..f04d9cd 100644 --- a/Makefile +++ b/Makefile @@ -6,11 +6,11 @@ DATAROOTDIR := ${PREFIX}/share MANDIR := ${DATAROOTDIR}/man MAN1DIR := ${MANDIR}/man1 -csedit: hermes.c config.h +hermes: hermes.c config.h $(CC) hermes.c -o hermes -Wall -Wextra -pedantic -std=c99 .PHONY: install -install: install-bin install-man +install: clean install-bin install-man clean .PHONY: install-bin install-bin: hermes