Updates the makefile to clean before and after install
This commit is contained in:
parent
57b6c6f51b
commit
7893ea5cd4
4
Makefile
4
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
|
||||
|
|
Loading…
Reference in New Issue