This commit is contained in:
Your Name 2023-10-29 19:32:48 +03:00
parent ecc41bec15
commit 6d82e300c5
4 changed files with 18 additions and 2 deletions

View File

@ -1,2 +1,2 @@
# micro-coreutils
# micro-utils

4
TODO
View File

@ -11,7 +11,6 @@ nice
renice
nohup
chmod
chown
split
truncate
date
@ -68,3 +67,6 @@ Findutils:
grep
find
xargs
Shell:
lsh - lavash

11
shell/Makefile Normal file
View File

@ -0,0 +1,11 @@
C_SOURCES:=$(wildcard ./*.c)
C_TARGETS:=$(patsubst ./%.c, ../bin/%, $(C_SOURCES))
TARGETS:=$(C_TARGETS)
CFLAGS?=-s -Os -flto -pedantic -Wall -Wextra
CC?=cc
all: ../bin $(TARGETS)
../bin/%: %.c
$(CC) $(CFLAGS) -o $@ $<

3
shell/sh.c Normal file
View File

@ -0,0 +1,3 @@
int main(void) {
return 0;
}