summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authoryuzu-eva <cafebabe@disroot.org>2025-04-11 17:44:49 +0200
committeryuzu-eva <cafebabe@disroot.org>2025-04-11 17:44:49 +0200
commit59c01a556ada289caa143be8301868035fcf89ef (patch)
treed7ae06d29b9f5c3af6e083d2563177d49b73bd2f /Makefile
parenta56994fbaea532e2d2314aeeb917c30031c29f08 (diff)
renamed project to libman since it's for more than just anime
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 7 insertions, 7 deletions
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}