summaryrefslogtreecommitdiff
path: root/userspace/Makefile
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2014-11-22 16:43:51 +0100
committerMichal Idziorek <m.i@gmx.at>2014-11-22 16:43:51 +0100
commitc4aa91d9d58a47eb90798ae1ae6647953d3745a2 (patch)
tree2745079a8d62c2d414720775d073cb95106a95cc /userspace/Makefile
parent795b1f7df203ae33e1d0eb13612f0ba2abf4351e (diff)
support for ELF (with 1*text and 1*data)!
Diffstat (limited to 'userspace/Makefile')
-rw-r--r--userspace/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/userspace/Makefile b/userspace/Makefile
index a0817e3..79c43d6 100644
--- a/userspace/Makefile
+++ b/userspace/Makefile
@@ -1,6 +1,5 @@
CC=i686-foolos-gcc
CFLAGS=-w
-LDFLAGS=-T linker.ld
PROGS=shell simple brainfuck add
@@ -14,8 +13,7 @@ ext2.img: $(PROGS)
echo "hello one" > mnt/miguel/test1.txt
echo "hello two" > mnt/test2.txt
cp $^ mnt
-# cp shell.bin mnt
- cp ~/temp/fool-os-stuff/binutils-fool-build/binutils/elfedit mnt
+# cp ~/temp/fool-os-stuff/binutils-fool-build/binutils/elfedit mnt
sync
sudo umount mnt
rm mnt -rf
@@ -29,7 +27,6 @@ shell: shell.o
simple: simple.o
add: add.o
-
clean:
-rm *.o $(PROGS) ext2.img