Rename executable to ef.

Maybe ef for "érico's finder"?

Also add install target.
This commit is contained in:
Érico Rolim 2021-01-08 02:00:03 -03:00
parent 70a8aba601
commit 4e174d9126
2 changed files with 10 additions and 3 deletions

View File

@ -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)

View File