summaryrefslogtreecommitdiff
path: root/userspace/Makefile
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2014-12-01 21:49:22 +0100
committerMichal Idziorek <m.i@gmx.at>2014-12-01 21:49:22 +0100
commitd8331335ff1720ce28eba45afe1a02814b38b033 (patch)
treef671279d258477321699d158765f576512851e3a /userspace/Makefile
parent100be313c22bd6116b1adc5eb30f5db56f4b0772 (diff)
finally implemented fork() syscall
Diffstat (limited to 'userspace/Makefile')
-rw-r--r--userspace/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/userspace/Makefile b/userspace/Makefile
index 53dab5f..0c41347 100644
--- a/userspace/Makefile
+++ b/userspace/Makefile
@@ -7,10 +7,10 @@ CFLAGS+=-w
CFLAGS+=-std=gnu11
CFLAGS+=-O3
-PROGS=foolshell ls simple brainfuck add checker clear task1 task2
+PROGS=foolshell ls simple brainfuck add checker clear task1 task2 init
ext2.img: $(PROGS)
- dd if=/dev/zero of=ext2.img bs=512 count=5000
+ dd if=/dev/zero of=ext2.img bs=512 count=7000
sudo mkfs.ext2 -O none ext2.img -F
mkdir mnt
sudo mount ext2.img mnt
@@ -34,6 +34,7 @@ add: add.o
checker: checker.o
task1: task1.o
task2: task2.o
+init: init.o
clean:
-rm *.o $(PROGS) ext2.img