summaryrefslogtreecommitdiff
path: root/userland/libc/Makefile
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2023-10-22 21:34:42 +0200
committerAnton Kling <anton@kling.gg>2023-10-22 21:34:42 +0200
commit3ff953e7fdea65cccf5071966c49277c8d8eb289 (patch)
tree64759146313f683122a0c7748dec1e474eb49233 /userland/libc/Makefile
parent4f30105a95fd5958665a1ff394b2fe7a2f91c7fb (diff)
Change CC in Makefiles to not use a absolute path
Diffstat (limited to 'userland/libc/Makefile')
-rw-r--r--userland/libc/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/userland/libc/Makefile b/userland/libc/Makefile
index 98d81d4..18c80fa 100644
--- a/userland/libc/Makefile
+++ b/userland/libc/Makefile
@@ -1,6 +1,6 @@
-CC="/home/anton/prj/osdev/sysroot/bin/i686-sb-gcc"
-AR="/home/anton/prj/osdev/sysroot/bin/i686-sb-ar"
-AS="/home/anton/prj/osdev/sysroot/bin/i686-sb-as"
+CC="i686-sb-gcc"
+AR="i686-sb-ar"
+AS="i686-sb-as"
#CFLAGS = -ggdb -ffreestanding -O0 -Wall -Wextra -pedantic -mgeneral-regs-only -Wimplicit-fallthrough -I./include/ -static -fsanitize=shift,signed-integer-overflow,bounds
CFLAGS = -ggdb -ffreestanding -O2 -Wall -pedantic -Wimplicit-fallthrough -I./include/ -static
#BINS=c.a libc.o crt0.o malloc.o pty.o mmap.o
@@ -18,9 +18,9 @@ libc.a: $(OBJ)
$(AR) rcs libc.a $(OBJ)
install:
- cp crt0.o /home/anton/prj/osdev/sysroot/lib/
- cp libc.a /home/anton/prj/osdev/sysroot/lib/
- cp -r include /home/anton/prj/osdev/sysroot/usr/
+ cp crt0.o ../../sysroot/lib/
+ cp libc.a ../../sysroot/lib/
+ cp -r include ../../sysroot/usr/
clean:
rm libc.a *.o */*.o */*/*.o