Usermode - Unit tests called from root makefile
[tpg/acess2.git] / Usermode / Libraries / libc.so_src / Makefile
1 # Acess2 Basic C Library\r
2 # Makefile\r
3 \r
4 -include ../Makefile.cfg\r
5 \r
6 CPPFLAGS += \r
7 CFLAGS   += -Werror -Wextra\r
8 ASFLAGS  +=\r
9 LDFLAGS  += -soname libc.so -Map map.txt\r
10 \r
11 INCFILES := stdio.h stdlib.h\r
12 \r
13 OBJ  = stub.o heap.o stdlib.o env.o stdio.o string.o rand.o\r
14 OBJ += perror.o scanf.o signals.o strtoi.o strtof.o\r
15 OBJ += printf.o\r
16 OBJ += arch/$(ARCHDIR).ao\r
17 # signals.o\r
18 DEPFILES := $(OBJ:%.o=%.d)\r
19 BIN = libc.so\r
20 \r
21 include ../Makefile.tpl\r
22 \r
23 EXP_%.txt: TEST_%.native\r
24         ./TEST_printf.native > EXP_printf.txt\r
25         rm TEST_printf.native\r
26 \r
27 %.native: %.c\r
28         $(NCC) $< -o $@ -Wall -Werror\r

UCC git Repository :: git.ucc.asn.au