From 59c01a556ada289caa143be8301868035fcf89ef Mon Sep 17 00:00:00 2001 From: yuzu-eva Date: Fri, 11 Apr 2025 17:44:49 +0200 Subject: renamed project to libman since it's for more than just anime --- Makefile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d42e755..ffbf78f 100644 --- a/Makefile +++ b/Makefile @@ -11,27 +11,27 @@ CFLAGS = -Wall -Wextra LIBS = -lsqlite3 SRC = main.c dbhandling.c OBJ = ${SRC:.c=.o} -BIN = myal +BIN = libman all: options ${BIN} options: - @echo myal build options: + @echo ${BIN} build options: @echo "CFLAGS = ${CFLAGS}" @echo "CC = ${CC}" .c.o: ${CC} -c ${CFLAGS} ${SRC} -myal: .c.o - ${CC} ${CFLAGS} ${LIBS} ${OBJ} -o myal +libman: .c.o + ${CC} ${CFLAGS} ${LIBS} ${OBJ} -o ${BIN} install: - ${INSTALL_PROGRAM} myal ${PREFIX}${BINDIR}/myal + ${INSTALL_PROGRAM} ${BIN} ${PREFIX}${BINDIR}/${BIN} clean: - ${RM} myal + ${RM} ${BIN} ${RM} ${OBJ} uninstall: - ${RM} /usr/local/bin/myal + ${RM} ${PREFIX}/${BINDIR}/${BIN} -- cgit v1.2.3