chore: initialize project scaffold with Makefile, .gitignore, README, and main.c skeleton

This commit is contained in:
2025-08-02 10:57:44 +00:00
commit 3a98081cb9
6 changed files with 1701 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
# Compiler
CC = gcc
# Compiler flags
CFLAGS = -Wall -Wextra -pedantic -L/usr/local/lib -lncurses -lncursesw -ltinfo -ldl -lpthread -static
# Executable name
TARGET = rzf
# Source files
SRCS = main.c
# Object files
OBJS = $(SRCS:.c=.o)
# Default target
all: $(TARGET)
# Build the executable
$(TARGET): $(OBJS)
$(CC) -o $@ $^ $(CFLAGS)
# Clean up build files
clean:
rm -f $(TARGET) $(OBJS)
.PHONY: all clean