aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 55b1e1c..a41a618 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,5 @@
CC := gcc
+INSTALL := install
CFLAGS := -O2 -g -Wall -ffunction-sections -fdata-sections -ffast-math -fomit-frame-pointer -fexpensive-optimizations -Wl,--gc-sections
LDFLAGS :=
RM := rm -rf
@@ -57,6 +58,10 @@ clean:
-$(RM) aes asciihexer dummyshell gol suidcmd xidle
-@echo ' '
+install: $(TARGETS)
+ $(INSTALL) -d $(PREFIX)/usr/bin
+ $(INSTALL) -s $(TARGETS) $(PREFIX)/usr/bin
+
rebuild: clean all
.PHONY: all clean strip