diff --git a/GNUmakefile b/GNUmakefile index e75d63d..d52646d 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -19,7 +19,8 @@ CC=cc CFLAGS=-O3 -Lbuild/lib 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 ifeq ($(CC), clang) @@ -39,7 +40,8 @@ clean: rm -rf 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/bin/* $(PREFIX)/bin/ cp -f docs/*.1 $(PREFIX)/man/man1/