Adding ved

This commit is contained in:
2026-04-08 16:37:32 +02:00
parent f1d1deab0f
commit e6596f3e27
27 changed files with 2110 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
CC = gcc
CFLAGS = -Wall -Wextra -std=c99 -pedantic
LDFLAGS = -lncurses -lcurl -lpthread
SRC = $(wildcard src/*.c)
OBJ = $(SRC:.c=.o)
BIN = ved
$(BIN): $(OBJ)
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
src/%.o: src/%.c src/editor.h
$(CC) $(CFLAGS) -c $< -o $@
clean:
rm -f src/*.o $(BIN)
.PHONY: clean