forked from bonsai/harakit
GNUmakefile: repair formatting
This commit is contained in:
parent
cfdc2821b2
commit
47f673ef45
@ -19,7 +19,8 @@ CC=cc
|
|||||||
CFLAGS=-O3 -Lbuild/lib
|
CFLAGS=-O3 -Lbuild/lib
|
||||||
|
|
||||||
ifeq ($(CC), gcc)
|
ifeq ($(CC), gcc)
|
||||||
CFLAGS=-O3 -s -Wl,-z,noseparate-code,-z,nosectionheader -flto -Lbuild/lib
|
CFLAGS=-O3 -s -Wl,-z,noseparate-code,-z,nosectionheader -flto \
|
||||||
|
-Lbuild/lib
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CC), clang)
|
ifeq ($(CC), clang)
|
||||||
@ -39,7 +40,8 @@ clean:
|
|||||||
rm -rf build/
|
rm -rf build/
|
||||||
|
|
||||||
install: build
|
install: build
|
||||||
mkdir -p $(PREFIX)/bin $(PREFIX)/lib $(PREFIX)/man/man1 $(PREFIX)/man/man3
|
mkdir -p $(PREFIX)/bin $(PREFIX)/lib
|
||||||
|
mkdir -p $(PREFIX)/man/man1 $(PREFIX)/man/man3
|
||||||
cp -f build/lib/*.so $(PREFIX)/lib/
|
cp -f build/lib/*.so $(PREFIX)/lib/
|
||||||
cp -f build/bin/* $(PREFIX)/bin/
|
cp -f build/bin/* $(PREFIX)/bin/
|
||||||
cp -f docs/*.1 $(PREFIX)/man/man1/
|
cp -f docs/*.1 $(PREFIX)/man/man1/
|
||||||
|
Loading…
Reference in New Issue
Block a user