moved code here. still needs to update gh

This commit is contained in:
klein panic
2025-02-24 15:18:44 -05:00
parent 9ca9f577a4
commit 2726432fe1
106 changed files with 4816 additions and 0 deletions

19
mpvd/build/Makefile Normal file
View File

@@ -0,0 +1,19 @@
CC = gcc
CFLAGS = -I../include -Wall -g
LDFLAGS = -lasound -lncurses # Added -lncurses for ncurses functions
OBJDIR = ../obj
SRCDIR = ../src
INCLUDEDIR = ../include
OBJS = $(OBJDIR)/main.o $(OBJDIR)/audio.o $(OBJDIR)/ui.o $(OBJDIR)/dir.o
all: mpvd
mpvd: $(OBJS)
$(CC) $(CFLAGS) -o mpvd $(OBJS) $(LDFLAGS)
$(OBJDIR)/%.o: $(SRCDIR)/%.c
$(CC) $(CFLAGS) -c $< -o $@
clean:
rm -f $(OBJDIR)/*.o mpvd