diff options
-rwxr-xr-x | Makefile | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -4,11 +4,10 @@ FLAGS= DESTDIR= PREFIX=/usr - .DEFAULT_GOAL := build install: install-hbar install-headers -build: prepare build-hbar +build: build-hbar install-headers: src/*.h install -m644 src/*.h ${DESTDIR}${PREFIX}/include @@ -20,9 +19,6 @@ install-hbar: bin/hbar install -m755 bin/hbar ${DESTDIR}${PREFIX}/bin build-hbar: src/hbar.c + mkdir -pv bin ${CC} src/hbar.c -o bin/hbar ${FLAGS} -prepare: - rm -rf bin - mkdir -pv bin - |