summaryrefslogtreecommitdiff
path: root/userspace/Makefile
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2015-05-25 13:04:41 +0200
committerMichal Idziorek <m.i@gmx.at>2015-05-25 13:04:41 +0200
commit2c8cefb3a269d66a6a705bcb4912b0657379273c (patch)
tree677ee15b87072e5ccd560f1be277abaf11b1ec28 /userspace/Makefile
parent8ea3e244d44190e44a092ffb004e13ad94174c68 (diff)
fixed crt0.o for compiler toolchain (-lfool no more!)
Diffstat (limited to 'userspace/Makefile')
-rw-r--r--userspace/Makefile13
1 files changed, 4 insertions, 9 deletions
diff --git a/userspace/Makefile b/userspace/Makefile
index 1f562ab..d87b7a7 100644
--- a/userspace/Makefile
+++ b/userspace/Makefile
@@ -2,16 +2,14 @@
CC=i686-foolos-gcc
CFLAGS=
-#CFLAGS+=-fstack-protector-all
CFLAGS+=-I..
CFLAGS+=-w
CFLAGS+=-std=gnu11
-CFLAGS+=-O3
+CFLAGS+=-O0
CFLAGS+=-g
-LDFLAGS=
-LDFLAGS=-lfool
+#CFLAGS+=-fstack-protector-all
-#CFLAGS+=$(SYSROOT)/usr/lib/crt0.o
+LDFLAGS=
PROGS=foolshell ls simple brainfuck add checker clear task1 task2 init cat snake
@@ -44,7 +42,7 @@ snake: snake.o
foolshell: foolshell.o
simple: simple.o
add: add.o
- $(CC) -o $@ $< -lm -lfool
+ $(CC) -o $@ $< -lm
checker: checker.o
task1: task1.o
task2: task2.o
@@ -64,6 +62,3 @@ umount:
rm mnt -rf
new: clean ext2.img
-
-
-