aboutsummaryrefslogtreecommitdiffstats
path: root/libc
diff options
context:
space:
mode:
authorEmulatedSeasons <89668582+EmulatedSeasons@users.noreply.github.com>2024-05-06 23:00:36 -0400
committerEmulatedSeasons <89668582+EmulatedSeasons@users.noreply.github.com>2024-05-06 23:00:36 -0400
commit33bc3446d237a95f1bbf9d5d70a170fa4c4241cd (patch)
tree60a07c07c59b92ed21407f59931f25285b89f2aa /libc
parent982baec992d48343e455bf6e32ca96fbdcddda01 (diff)
Improved makefile a bit more and got it working with the other files
Diffstat (limited to 'libc')
-rw-r--r--libc/makefile4
-rw-r--r--libc/putchar.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/libc/makefile b/libc/makefile
index 2e1912e..560efb7 100644
--- a/libc/makefile
+++ b/libc/makefile
@@ -1,4 +1,4 @@
-# libck makefile
+# libc makefile
ifndef AR
AR = i686-elf-ar
@@ -71,7 +71,7 @@ libc.a: ${OBJECTS}
install-headers:
cp -r --preserve=timestamps include/. $(SYSROOT)/usr/include
-install-lib: libck.a
+install-lib: libc.a
cp -r $< $(SYSROOT)/usr/lib/.
clean:
diff --git a/libc/putchar.c b/libc/putchar.c
index c5a7976..48147bf 100644
--- a/libc/putchar.c
+++ b/libc/putchar.c
@@ -1,9 +1,9 @@
#include <stdio.h>
-#include <arch/i386/tmtty.h>
+//#include <arch/i386/tmtty.h>
int putchar(int ic) {
char c = (char) ic;
- terminal_write(&c, sizeof(c));
+ //terminal_write(&c, sizeof(c));
return ic;
} \ No newline at end of file