git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Usermode - Unit tests called from root makefile
[tpg/acess2.git]
/
Usermode
/
Libraries
/
libc.so_src
/
Makefile
diff --git
a/Usermode/Libraries/libc.so_src/Makefile
b/Usermode/Libraries/libc.so_src/Makefile
index
31adb5c
..
2e4e2b2
100644
(file)
--- a/
Usermode/Libraries/libc.so_src/Makefile
+++ b/
Usermode/Libraries/libc.so_src/Makefile
@@
-10,8
+10,9
@@
LDFLAGS += -soname libc.so -Map map.txt
\r
INCFILES := stdio.h stdlib.h
\r
\r
\r
INCFILES := stdio.h stdlib.h
\r
\r
-OBJ = stub.o heap.o stdlib.o env.o stdio.o string.o
select.o
rand.o
\r
+OBJ = stub.o heap.o stdlib.o env.o stdio.o string.o rand.o
\r
OBJ += perror.o scanf.o signals.o strtoi.o strtof.o
\r
OBJ += perror.o scanf.o signals.o strtoi.o strtof.o
\r
+OBJ += printf.o
\r
OBJ += arch/$(ARCHDIR).ao
\r
# signals.o
\r
DEPFILES := $(OBJ:%.o=%.d)
\r
OBJ += arch/$(ARCHDIR).ao
\r
# signals.o
\r
DEPFILES := $(OBJ:%.o=%.d)
\r
@@
-19,3
+20,9
@@
BIN = libc.so
\r
include ../Makefile.tpl
\r
\r
\r
include ../Makefile.tpl
\r
\r
+EXP_%.txt: TEST_%.native
\r
+ ./TEST_printf.native > EXP_printf.txt
\r
+ rm TEST_printf.native
\r
+
\r
+%.native: %.c
\r
+ $(NCC) $< -o $@ -Wall -Werror
\r
UCC
git Repository :: git.ucc.asn.au