Added system fetcher and strcpy(string.h)

This commit is contained in:
Cetica Marco
2021-01-03 18:24:55 +01:00
parent 21f017f13c
commit f13837f6f8
8 changed files with 64 additions and 18 deletions

View File

@@ -1,10 +1,10 @@
OBJS = shell.o
OBJS = shell.o fetch.o
CC = i686-elf-gcc # cross-compiler
CFLAGS = -m32 -fno-stack-protector -ffreestanding -Wall -Wextra -Werror -g -c
CFLAGS = -DDEFAULT_USER=root -DDEFAULT_HOSTNAME=vulcan -m32 -fno-stack-protector -ffreestanding -Wall -Wextra -Werror -g -c
all:${OBJS}
%.o: %.c
$(CC) $(CFLAGS) $< -o $@
$(CC) $(CFLAGS) $< -o $@