set base for dev env makefile readme gitignore and a basic main.c

This commit is contained in:
smayzy
2025-12-06 20:06:26 +01:00
parent 0cbf4f7de6
commit 2242392d54
6 changed files with 76 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
CC := gcc
CFLAGS := -Wall -Wextra -O2
LDFLAGS := -lncurses
SRC := src/main.c
TARGET := cocomobile-tui
.PHONY: all clean
all: $(TARGET)
$(TARGET): $(SRC)
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
clean:
rm -f $(TARGET)