aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJames Barnett <noreply@jamesbarnett.xyz>2019-10-06 18:39:36 +0100
committerJames Barnett <noreply@jamesbarnett.xyz>2019-10-06 18:39:36 +0100
commit29478baf24532391cd94bd08d94cf867dee976e6 (patch)
tree3127ae32572cd262c7283c6223b6e5712a07f91d /Makefile
parente77b371fb0fc4e62fa727a340b2e322fa60ebcff (diff)
downloadtinyOS-master.tar.xz
tinyOS-master.zip
Start on ram backed filesystemHEADmaster
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a0ae7a6..a62e0cd 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
CC = gcc
-CFLAGS = -m32 -std=c99 -fno-stack-protector
+CFLAGS = -m32 -std=c99 -fno-stack-protector -Wno-builtin-declaration-mismatch
default: build
@@ -17,6 +17,8 @@ build: setup kernel/kernel.c kernel/global_descriptor_table.c kernel/gpu/text_mo
$(CC) $(CFLAGS) -c os/shell/shell.c -o bin/shell.o
$(CC) $(CFLAGS) -c os/stdlib/stdlib.c -o bin/stdlib.o
$(CC) $(CFLAGS) -c os/commands/echo.c -o bin/echo.o
+ $(CC) $(CFLAGS) -c os/commands/files.c -o bin/files.o
+ $(CC) $(CFLAGS) -c os/filesystem/ramfs.c -o bin/ramfs.o
ld -m elf_i386 -T link.ld -o bin/kernel.bin bin/*.o
clean: