diff options
| author | 2022-08-31 15:41:24 +0200 | |
|---|---|---|
| committer | 2022-08-31 15:41:24 +0200 | |
| commit | 047a978be814f0ff46482689ef60582061a5c08b (patch) | |
| tree | 568e9acafffd1ad259e49469d9756cc8885b02e9 | |
| parent | a582666135ad4bb1e0f5119e1b5c6bbf68044394 (diff) | |
install
| -rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -12,6 +12,7 @@ SRCS=src/env.cff \ OBJ=$(foreach o,$(subst .cff,.o,$(SRCS)),build/$o) OUT ?= cffc +PREFIX ?= ~/.local/bin/ ifneq ($(VERBOSE),) @@ -40,4 +41,8 @@ build/%.o: %.cff $Vset -euo pipefail;\ (opt -Oz -opaque-pointers $@.ll | llc --relocation-model=dynamic-no-pic -opaque-pointers | as - -o $@) || ($(RM) $@; false) +install: + install -m777 $(OUT) $(PREFIX) + +.PHONY: install clean |