updated folder structure
This commit is contained in:
44
.gitignore
vendored
44
.gitignore
vendored
@@ -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
|
||||
|
||||
24
Makefile
24
Makefile
@@ -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
|
||||
|
||||
BIN
bookmarks.o
BIN
bookmarks.o
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
build/bookmarks.o
Normal file
BIN
build/bookmarks.o
Normal file
Binary file not shown.
Binary file not shown.
BIN
build/countdown_timer.o
Normal file
BIN
build/countdown_timer.o
Normal file
Binary file not shown.
BIN
build/diff_viewer.o
Normal file
BIN
build/diff_viewer.o
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
build/git_integration.o
Normal file
BIN
build/git_integration.o
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
build/main.o
Normal file
BIN
build/main.o
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
build/ps_command.o
Normal file
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
BIN
build/structured_data.o
Normal file
Binary file not shown.
BIN
build/system_monitor.o
Normal file
BIN
build/system_monitor.o
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
build/timer.o
Normal file
BIN
build/timer.o
Normal file
Binary file not shown.
BIN
build/weather.o
Normal file
BIN
build/weather.o
Normal file
Binary file not shown.
Binary file not shown.
BIN
diff_viewer.o
BIN
diff_viewer.o
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
ps_command.o
BIN
ps_command.o
Binary file not shown.
Binary file not shown.
BIN
system_monitor.o
BIN
system_monitor.o
Binary file not shown.
Reference in New Issue
Block a user