diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2017-03-15 13:30:06 +0100 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2017-03-15 13:30:06 +0100 |
commit | 9c083f63d86f5a7024e832af07fbf14e2656c938 (patch) | |
tree | 201a54c9f677b26076f1fd99ad4001c9ddfcddd6 | |
parent | f2ebdc58bb8e9091c4f823bb6d9e521b32087d40 (diff) |
install targets
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |