summaryrefslogtreecommitdiff
path: root/userspace/Makefile
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2014-11-20 23:28:17 +0100
committerMichal Idziorek <m.i@gmx.at>2014-11-20 23:28:17 +0100
commita822afc278e7855dea55bcd0de2e402d5bf43508 (patch)
tree3ce639618b5548389096e5e340a36025e0371af7 /userspace/Makefile
parentb9af856ae4a65e09b401cdbc7858c6cd4b1b0b5f (diff)
fixed loading and runnnng progs (clear bss)
Diffstat (limited to 'userspace/Makefile')
-rw-r--r--userspace/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/userspace/Makefile b/userspace/Makefile
index 564ffe0..18b5ded 100644
--- a/userspace/Makefile
+++ b/userspace/Makefile
@@ -26,16 +26,16 @@ ext2.img: shell simple brainfuck add
rm mnt -rf
brainfuck: brainfuck.o crt0.o
- ${CC} -T linker.ld ${LDFLAGS} $< -Wl,--oformat,binary -o brainfuck
+ ${CC} -T linker.ld ${LDFLAGS} $< -o $@
shell: foolshell.o crt0.o
- ${CC} -T linker.ld ${LDFLAGS} $< -Wl,--oformat,binary -o shell
+ ${CC} -T linker.ld ${LDFLAGS} $< -o $@
simple: simple.o crt0.o
- ${CC} -T linker.ld ${LDFLAGS} $< -Wl,--oformat,binary -o simple
+ ${CC} -T linker.ld ${LDFLAGS} $< -o $@
add: add.o crt0.o
- ${CC} -T linker.ld ${LDFLAGS} $< -Wl,--oformat,binary -o add
+ ${CC} -T linker.ld ${LDFLAGS} $< -o $@
clean:
-rm *.o *.out shell simple ext2.img brainfuck add