aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2019-09-14 20:39:38 +0200
committerToni Uhlig <matzeton@googlemail.com>2019-09-14 20:39:38 +0200
commit2e13536e0ba210f82ac24def1038ff73c5058b7b (patch)
tree7acd962d89647642d19da171e0ca4ed3ff432501
parent4a3e6abc7da8eb8306e7d401be9415117b463401 (diff)
parent562d67e8b4395e91122f779cd69f006880bc176f (diff)
Merge branch 'master' of gitlab.com:lnslbrty/tools
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 2a00739..425b765 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,6 @@
CC := gcc
-INSTALL := install
+INSTALL_DIR := install -d
+INSTALL_BIN := install -s
CFLAGS := -O2 -g -Wall -ffunction-sections -fdata-sections -ffast-math -fomit-frame-pointer -fexpensive-optimizations -Wl,--gc-sections
LDFLAGS :=
RM := rm -rf
@@ -79,8 +80,8 @@ clean:
-@echo ' '
install: $(TARGETS)
- $(INSTALL) -d $(PREFIX)/usr/bin
- $(INSTALL) -s $(TARGETS) $(PREFIX)/usr/bin
+ $(INSTALL_DIR) -d $(PREFIX)/usr/bin
+ $(INSTALL_BIN) -s $(TARGETS) $(PREFIX)/usr/bin
rebuild: clean all