X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FLibraries%2Flibc.so_src%2FMakefile;h=2e4e2b2ca960f9f0131e939e3a94fc8710266f4b;hb=b770132cdb8e79f27f3d429f24d94284dd6fe970;hp=c29e0e5fb597ea8c6ddc7a8c9b0a126afb2cbf85;hpb=b0da731b2d89b9dd58de2c98eaf6218a41a21920;p=tpg%2Facess2.git diff --git a/Usermode/Libraries/libc.so_src/Makefile b/Usermode/Libraries/libc.so_src/Makefile index c29e0e5f..2e4e2b2c 100644 --- a/Usermode/Libraries/libc.so_src/Makefile +++ b/Usermode/Libraries/libc.so_src/Makefile @@ -12,6 +12,7 @@ INCFILES := stdio.h stdlib.h 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