From 7cd7876202746fded86d770fb77aea0f55b814d8 Mon Sep 17 00:00:00 2001 From: yuzu-eva Date: Tue, 25 Mar 2025 16:15:25 +0100 Subject: added db-setup script; fixed makefile --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 846d202..c8b28bd 100644 --- a/Makefile +++ b/Makefile @@ -9,12 +9,13 @@ INSTALL_PROGRAM=install INSTALL_DATA=install -m 644 CFLAGS=-Wall -Wextra -O3 -ggdb +LIBS=-lsqlite3 BIN=myal all: $(BIN) myal: $(SRCDIR)/main.c - $(CC) $(CFLAGS) $(SRCDIR)/main.c -o myal + $(CC) $(CFLAGS) $(LIBS) $(SRCDIR)/main.c -o myal install: $(INSTALL_PROGRAM) myal $(PREFIX)$(BINDIR)/myal @@ -22,5 +23,5 @@ install: clean: $(RM) myal -distclean: clean +uninstall: $(RM) /usr/local/bin/myal -- cgit v1.2.3