2021-01-03 18:24:55 +01:00
|
|
|
OBJS = shell.o fetch.o
|
2019-07-08 18:43:45 +02:00
|
|
|
|
|
|
|
CC = i686-elf-gcc # cross-compiler
|
2021-01-03 18:24:55 +01:00
|
|
|
CFLAGS = -DDEFAULT_USER=root -DDEFAULT_HOSTNAME=vulcan -m32 -fno-stack-protector -ffreestanding -Wall -Wextra -Werror -g -c
|
2019-07-08 18:43:45 +02:00
|
|
|
|
|
|
|
|
|
|
|
all:${OBJS}
|
|
|
|
|
|
|
|
%.o: %.c
|
2021-01-03 18:24:55 +01:00
|
|
|
$(CC) $(CFLAGS) $< -o $@
|