From 9c083f63d86f5a7024e832af07fbf14e2656c938 Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Wed, 15 Mar 2017 13:30:06 +0100 Subject: install targets --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit v1.2.3