X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FLibraries%2Flibc.so_src%2FMakefile;h=2e4e2b2ca960f9f0131e939e3a94fc8710266f4b;hb=b770132cdb8e79f27f3d429f24d94284dd6fe970;hp=31adb5c2f688535061c0c6826757db2f7e7a206a;hpb=4e3d3dfaa9e9cd4f7a83416ea87e498b4836052e;p=tpg%2Facess2.git diff --git a/Usermode/Libraries/libc.so_src/Makefile b/Usermode/Libraries/libc.so_src/Makefile index 31adb5c2..2e4e2b2c 100644 --- 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 INCFILES := stdio.h stdlib.h -OBJ = stub.o heap.o stdlib.o env.o stdio.o string.o select.o rand.o +OBJ = stub.o heap.o stdlib.o env.o stdio.o string.o rand.o OBJ += perror.o scanf.o signals.o strtoi.o strtof.o +OBJ += printf.o OBJ += arch/$(ARCHDIR).ao # signals.o DEPFILES := $(OBJ:%.o=%.d) @@ -19,3 +20,9 @@ BIN = libc.so include ../Makefile.tpl +EXP_%.txt: TEST_%.native + ./TEST_printf.native > EXP_printf.txt + rm TEST_printf.native + +%.native: %.c + $(NCC) $< -o $@ -Wall -Werror