diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-10-02 14:39:43 +0200 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-10-02 14:39:43 +0200 |
| commit | d0d843b7046ced76336604450f8eb78b4decfa09 (patch) | |
| tree | dfcd1e3255ff1b54cbc9c0693d84947eaec732d1 /Makefile | |
| parent | 0e779caae658f118d535e9f0a74f0012eefca9a0 (diff) | |
Support installationv0.1.0-rc1
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -14,6 +14,7 @@ .POSIX: +PREFIX = /usr/local PROJECT = libdynstr.a CFLAGS = -Iinclude DEPS = \ @@ -21,6 +22,14 @@ DEPS = \ all: $(PROJECT) +install: $(PROJECT) + mkdir -p $(PREFIX)/include + cp include/dynstr.h $(PREFIX)/include + chmod 0644 $(PREFIX)/include/dynstr.h + mkdir -p $(PREFIX)/bin + cp $(PROJECT) $(PREFIX)/bin + chmod 0755 $(PREFIX)/bin/$(PROJECT) + clean: rm -f $(DEPS) |
