diff options
author | davidovski <david@davidovski.xyz> | 2022-02-13 11:45:39 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-02-13 11:45:39 +0000 |
commit | 355a513ee8ca5ce04a323c0a3fa6f20779dcc4fd (patch) | |
tree | fa7ee0537c3a99ce78f8d81fd1eee4d1e39c9dbb | |
parent | 81a52d0de767301f2898bcef928e4d882d5eee6e (diff) |
Fixed makefile
-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 - |