summaryrefslogtreecommitdiff
path: root/comp/lucas-standen-NEA/code2/stdlib
diff options
context:
space:
mode:
Diffstat (limited to 'comp/lucas-standen-NEA/code2/stdlib')
-rw-r--r--comp/lucas-standen-NEA/code2/stdlib/Makefile4
-rw-r--r--comp/lucas-standen-NEA/code2/stdlib/zpylib.h2
2 files changed, 4 insertions, 2 deletions
diff --git a/comp/lucas-standen-NEA/code2/stdlib/Makefile b/comp/lucas-standen-NEA/code2/stdlib/Makefile
index d915d38..ff46d14 100644
--- a/comp/lucas-standen-NEA/code2/stdlib/Makefile
+++ b/comp/lucas-standen-NEA/code2/stdlib/Makefile
@@ -1,9 +1,9 @@
CC=cc
-CLFAGS=-O0 -ggdb
+CFLAGS=-O0 -ggdb
stdlib:
cd String && make
- ${CC} *.c -c ${CFLAGS}
+ ${CC} zpylib.c -c -o zpylib.o ${CFLAGS}
clean:
rm -rf *.o
diff --git a/comp/lucas-standen-NEA/code2/stdlib/zpylib.h b/comp/lucas-standen-NEA/code2/stdlib/zpylib.h
index 808ef55..6b95949 100644
--- a/comp/lucas-standen-NEA/code2/stdlib/zpylib.h
+++ b/comp/lucas-standen-NEA/code2/stdlib/zpylib.h
@@ -1,7 +1,9 @@
#include <String.h>
#include <stddef.h>
+#include <stdlib.h>
void printstr(char *str);
+void printchar(char c);
void printint(int i);
void printfloat(double f);
char *readstr();