diff options
| author | Michal Idziorek <m.i@gmx.at> | 2014-10-24 16:02:06 +0200 |
|---|---|---|
| committer | Michal Idziorek <m.i@gmx.at> | 2014-10-24 16:02:06 +0200 |
| commit | 610cfb4cee7ca3f35f642eeb06de2c710ab67754 (patch) | |
| tree | 1f910c8bc6112879f4649429f8746007d3b69c52 /userspace/Makefile | |
| parent | 270b064f1da0ec8a7dbfd0624576ae752e86e5fa (diff) | |
updated userspace with new adapted brainfuck
Diffstat (limited to 'userspace/Makefile')
| -rw-r--r-- | userspace/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/userspace/Makefile b/userspace/Makefile index ceba7d0..1663d1d 100644 --- a/userspace/Makefile +++ b/userspace/Makefile @@ -8,8 +8,8 @@ LDFLAGS=-L/home/miguel/temp/fool-os-stuff/newlib-build-clean/i686-elf/newlib/ \ -L/home/miguel/temp/fool-os-stuff/newlib-build-clean/i686-elf/libgloss/libnosys/ \ -lnosys -ext2.img: shell simple - dd if=/dev/zero of=ext2.img bs=512 count=200 +ext2.img: shell simple brainfuck + dd if=/dev/zero of=ext2.img bs=512 count=500 sudo mkfs.ext2 -O none ext2.img -F mkdir mnt sudo mount ext2.img mnt @@ -19,10 +19,14 @@ ext2.img: shell simple echo "hello two" > mnt/test2.txt cp shell mnt cp simple mnt + cp brainfuck mnt sync sudo umount mnt rm mnt -rf +brainfuck: brainfuck.o crt0.o + ${CC} -T linker.ld ${LDFLAGS} $< -Wl,--oformat,binary -o brainfuck + shell: foolshell.o crt0.o ${CC} -T linker.ld ${LDFLAGS} $< -Wl,--oformat,binary -o shell @@ -30,7 +34,7 @@ simple: simple.o crt0.o ${CC} -T linker.ld ${LDFLAGS} $< -Wl,--oformat,binary -o simple clean: - -rm *.o *.out shell simple ext2.img + -rm *.o *.out shell simple ext2.img brainfuck umount: sudo umount mnt |
