dep

Package manager for embedded C libraries
git clone git://git.finwo.net/app/dep
Log | Files | Refs | README | LICENSE

commit 377e70110abf4761900c271022ed62641fbfa8f0
parent 27d439a392fd0cb2ca8d3b601daa3c703784c76a
Author: finwo <finwo@pm.me>
Date:   Sat, 14 Mar 2026 00:32:39 +0100

Add install script

Diffstat:
MMakefile | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile @@ -7,6 +7,7 @@ SRC:= INCLUDES:= CFLAGS:= LDFLAGS:= +DESTDIR?=/usr/local SRC+=$(shell $(FIND) src/ -type f -name '*.c') INCLUDES+=-Isrc @@ -88,6 +89,10 @@ dep: $(LIBS) $(OBJ) ${CC} ${OBJ} ${CFLAGS} ${LDFLAGS} -o $@ strip --strip-all $@ +.PHONY: install +install: dep + install dep ${DESTDIR}/bin + .PHONY: clean clean: rm -f $(OBJ)