libc

targets=libpthread
cppflags_force=-nostdinc -isystem ../../include -isystem ../../include/pthread -isystem ../../include/rt
cflags_force=-ffreestanding -fPIC
cflags=-W -Wall -g -O2 -fstack-protector
ldflags_force=-nostdlib -lc -L$(OBJDIR)..
ldflags=-Wl,-z,relro -Wl,-z,now
dist=Makefile
#targets
[libpthread]
type=library
sources=pthread.c
install=$(LIBDIR)