# !! this is the only directory where we don't include the bsd headers!!!
CC = gcc
CFLAGS = -fpic -O

OBJ_DIR = ../../objs

OBJ = wait4.o getrusage.o getdirentries.o stat.o sigaction.o \
      gethostname.o utimes.o setpriority.o getdtablesize.o dup2.o \
      getpagesize.o flock.o getdomainname.o select.o sigprocmask.o \
      ftruncate.o _getlogin.o ftime.o

all: .all

.all: $(OBJ)
	(cd $(OBJ_DIR); rm -f $(OBJ))
	for i in $(OBJ); do \
	  ln -s `pwd`/$$i $(OBJ_DIR);\
	done;
	touch .all




