From c53f033022558243a9edfc954974c89084245312 Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 23 Oct 2023 12:31:39 +0300 Subject: [PATCH] . --- Makefile | 12 ------------ TODO | 22 +++++++++++++--------- {coreutils => console-tools}/clear.c | 0 {coreutils => console-tools}/reset.c | 0 {coreutils => miscutils}/getloadavg.c | 0 {coreutils => networking}/hostname.c | 0 6 files changed, 13 insertions(+), 21 deletions(-) delete mode 100644 Makefile rename {coreutils => console-tools}/clear.c (100%) rename {coreutils => console-tools}/reset.c (100%) rename {coreutils => miscutils}/getloadavg.c (100%) rename {coreutils => networking}/hostname.c (100%) diff --git a/Makefile b/Makefile deleted file mode 100644 index d7b62e4..0000000 --- a/Makefile +++ /dev/null @@ -1,12 +0,0 @@ -C_SOURCES:=$(wildcard coreutils/*.c) -C_TARGETS:=$(patsubst coreutils/%.c,bin/%,$(C_SOURCES)) -TARGETS:=$(C_TARGETS) - -CFLAGS:=-s -Os -flto -pedantic -Wall -Wextra -all: bin $(TARGETS) - -bin/%: coreutils/%.c - $(CC) $(CFLAGS) -o $@ $< - -clean: - rm bin/* diff --git a/TODO b/TODO index 1e896a6..8129c64 100644 --- a/TODO +++ b/TODO @@ -1,13 +1,17 @@ +Makefile( + *Todo: -chmod -chown -printf -shuf -id -du -df -dd +dirname +basename +mktemp +ln nice nohup -mktemp +chmod +chown +shuf +id +df +dd +printf test diff --git a/coreutils/clear.c b/console-tools/clear.c similarity index 100% rename from coreutils/clear.c rename to console-tools/clear.c diff --git a/coreutils/reset.c b/console-tools/reset.c similarity index 100% rename from coreutils/reset.c rename to console-tools/reset.c diff --git a/coreutils/getloadavg.c b/miscutils/getloadavg.c similarity index 100% rename from coreutils/getloadavg.c rename to miscutils/getloadavg.c diff --git a/coreutils/hostname.c b/networking/hostname.c similarity index 100% rename from coreutils/hostname.c rename to networking/hostname.c