
targets = test_ln test_ls test_access \
          test_chown  test_touch list_dir \
          test_mknod test_fifo test_symln \
          test_filebase  test_regfile  \
          test_dirfile   test_pipefile \
	  test_devfile   test_symfile  

target2 = chmod.o file_lock.o  lstdir.o

all : $(targets) $(target2)


$(targets)  : $$@.C
	CC -o $@ $@.C

$(target2)  : $$(@:.o=.C)
	CC -c $(@:.o=.C)

clean :
	/bin/rm -f $(targets) $(target2)
