Initial Commit, project structure and build system.

This commit is contained in:
2025-10-18 23:52:08 +02:00
commit 6f587de022
9 changed files with 121 additions and 0 deletions

9
make/include/shared.mk Normal file
View File

@@ -0,0 +1,9 @@
$(TARGET): $(OBJECTS)
@mkdir -p $(dir $@)
$(CC) $(OBJECTS) $(LDFLAGS) -o $@
$(BUILD_DIR)/%.o: %.c
@mkdir -p $(dir $@)
$(CC) $(CFLAGS) -MMD -MP -c $< -o $@
-include $(DEPS)