updated folder structure

This commit is contained in:
2025-09-23 21:58:27 +02:00
parent a6c6b7faec
commit e3e10a67c8
94 changed files with 60 additions and 8 deletions

44
.gitignore vendored
View File

@@ -1 +1,45 @@
# Build artifacts
build/
*.o
*.exe
shell
shell.exe
# System files
.DS_Store
Thumbs.db
# IDE/Editor files
.vscode/
.idea/
*.swp
*.swo
*~
.vim/
# Temporary files
*.tmp
*.temp
*.log
# Claude Code local settings
**/.claude/settings.local.json
# Core dumps and debugging
core
*.core
vgcore.*
# Static analysis
*.gcov
*.gcda
*.gcno
# Archives
*.tar.gz
*.zip
*.tar.bz2
# Personal files
notes.txt
todo.txt

View File

@@ -1,22 +1,30 @@
CC = gcc
CFLAGS = -Wextra -g
CFLAGS = -Wextra -g -Iinclude
LIBS = -lm -lncurses
# Get all .c files
SOURCES = $(wildcard *.c)
# Generate object file names from source file names
OBJECTS = $(SOURCES:.c=.o)
# Directories
SRC_DIR = src
INC_DIR = include
BUILD_DIR = build
# Get all .c files from src directory
SOURCES = $(wildcard $(SRC_DIR)/*.c)
# Generate object file names in build directory
OBJECTS = $(SOURCES:$(SRC_DIR)/%.c=$(BUILD_DIR)/%.o)
TARGET = shell
all: $(TARGET)
all: $(BUILD_DIR) $(TARGET)
$(BUILD_DIR):
mkdir -p $(BUILD_DIR)
$(TARGET): $(OBJECTS)
$(CC) $(CFLAGS) -o $@ $^ $(LIBS)
%.o: %.c
$(BUILD_DIR)/%.o: $(SRC_DIR)/%.c
$(CC) $(CFLAGS) -c $< -o $@
clean:
rm -f $(OBJECTS) $(TARGET)
rm -rf $(BUILD_DIR) $(TARGET)
.PHONY: all clean

Binary file not shown.

Binary file not shown.

BIN
build/bookmarks.o Normal file

Binary file not shown.

Binary file not shown.

BIN
build/countdown_timer.o Normal file

Binary file not shown.

BIN
build/diff_viewer.o Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
build/git_integration.o Normal file

Binary file not shown.

Binary file not shown.

BIN
build/main.o Normal file

Binary file not shown.

BIN
build/ps_command.o Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
build/structured_data.o Normal file

Binary file not shown.

BIN
build/system_monitor.o Normal file

Binary file not shown.

Binary file not shown.

BIN
build/timer.o Normal file

Binary file not shown.

BIN
build/weather.o Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
main.o

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
shell

Binary file not shown.

BIN
shell.exe

Binary file not shown.

View File

View File

Binary file not shown.

Binary file not shown.

BIN
timer.o

Binary file not shown.

BIN
weather.o

Binary file not shown.