commit 0cecfa4c97075394b5d41b7f107e09fcbf342a42
parent cd1fded58924bd755e079d67883bafcd58789442
Author: vx-clutch <[email protected]>
Date: Sat, 9 Aug 2025 00:19:53 -0400
cleanup
Diffstat:
7 files changed, 0 insertions(+), 92 deletions(-)
diff --git a/Project/Makefile b/Project/Makefile
@@ -1,44 +0,0 @@
-prefix = /usr/bin
-
-PROJECT_SRCS := $(shell find . -name 'PROJECT/*.c')
-PROJECT_OBJS := $(patsubst ./%.c,c-out/obj/%.o,$(PROJECT_SRCS))
-
-PROJECT := c-out/bin/PROJECT
-
--include config.mak
-
-ifeq ($(wildcard config.mak),)
-all:
- @echo "File config.mak not found, run configure"
- @exit 1
-else
-
-all: build $(Project)
-
-build:
- mkdir -p c-out/bin
- mkdir -p c-out/obj
-
-c-out/obj/%.o: %.c
- $(CC) $(CFLAGS) -c $< -o $@
-
-$(PROJECT): $(PROJECT_OBJS)
- $(CC) $(CFLAGS) -DCOMMIT=$(shell git rev-list --count --all 2>/dev/null || echo 0) $^ -o $@
-
-endif
-
-install:
- @echo "NOT IMPL"
- exit 1
-
-uninstall:
- @echo "NOT IMPL"
- exit 1
-
-clean:
- rm -rf c-out
-
-dist-clean: clean
- rm -f config.mak
-
-.PHONY: all clean dist-clean install uninstall
diff --git a/Project/configure b/Project/configure
diff --git a/c-out/bin/yait b/c-out/bin/yait
Binary files differ.
diff --git a/c-out/obj/main.o b/c-out/obj/main.o
Binary files differ.
diff --git a/config.mak b/config.mak
@@ -1,4 +0,0 @@
-PREFIX=/usr/bin/
-CFLAGS=-Wall -Wextra -ggdb
-LDFLAGS=
-CC=clang
diff --git a/sample_project/Makefile b/sample_project/Makefile
@@ -1,44 +0,0 @@
-prefix = /usr/bin
-
-SAMPLE_PROJECT_SRCS := $(shell find . -name 'SAMPLE_PROJECT/*.c')
-SAMPLE_PROJECT_OBJS := $(patsubst ./%.c,c-out/obj/%.o,$(SAMPLE_PROJECT_SRCS))
-
-SAMPLE_PROJECT := c-out/bin/SAMPLE_PROJECT
-
--include config.mak
-
-ifeq ($(wildcard config.mak),)
-all:
- @echo "File config.mak not found, run configure"
- @exit 1
-else
-
-all: build $(sample_project)
-
-build:
- mkdir -p c-out/bin
- mkdir -p c-out/obj
-
-c-out/obj/%.o: %.c
- $(CC) $(CFLAGS) -c $< -o $@
-
-$(SAMPLE_PROJECT): $(SAMPLE_PROJECT_OBJS)
- $(CC) $(CFLAGS) -DCOMMIT=$(shell git rev-list --count --all 2>/dev/null || echo 0) $^ -o $@
-
-endif
-
-install:
- @echo "NOT IMPL"
- exit 1
-
-uninstall:
- @echo "NOT IMPL"
- exit 1
-
-clean:
- rm -rf c-out
-
-dist-clean: clean
- rm -f config.mak
-
-.PHONY: all clean dist-clean install uninstall
diff --git a/sample_project/configure b/sample_project/configure