From 4e174d91266ce703cc1698283db9eb92d1339173 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Rolim?= Date: Fri, 8 Jan 2021 02:00:03 -0300 Subject: [PATCH] Rename executable to ef. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Maybe ef for "érico's finder"? Also add install target. --- Makefile | 13 ++++++++++--- browser.c => ef.c | 0 2 files changed, 10 insertions(+), 3 deletions(-) rename browser.c => ef.c (100%) diff --git a/Makefile b/Makefile index e21d678..f97a1ea 100644 --- a/Makefile +++ b/Makefile @@ -1,13 +1,20 @@ -SRC = browser.c string-array.c util.c +PREFIX = /usr/local + +SRC = ef.c string-array.c util.c OBJ = $(SRC:%.c=%.o) -EXE = browser +EXE = ef CFLAGS = -Wall -Wextra -g LDLIBS = -lcurses +.PHONY: all install clean + all: $(EXE) -browser: $(OBJ) +ef: $(OBJ) $(OBJ): string-array.h util.h +install: all + install -Dm755 ef $(DESTDIR)$(PREFIX)/bin/ef + clean: rm -f $(EXE) $(OBJ) diff --git a/browser.c b/ef.c similarity index 100% rename from browser.c rename to ef.c