Updates the makefile to clean before and after install

This commit is contained in:
sloum 2020-02-06 20:49:46 -08:00
parent 57b6c6f51b
commit 7893ea5cd4
1 changed files with 2 additions and 2 deletions

View File

@ -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