1 # Makefile for File System (FS)
10 # programs, flags, etc.
12 CFLAGS
= -I
$i $(EXTRA_OPTS
) $(CPROFILE
)
16 OBJ
= main.o open.o read.o write.o pipe.o dmap.o \
17 path.o device.o mount.o link.o exec.o \
18 filedes.o stadir.o protect.o time.o \
19 lock.o misc.o utility.o select.o timers.o table.o \
20 vnode.o vmnt.o request.o mmap.o fscall.o
23 install all build
: $(SERVER
)
26 $(CC
) -o
$@
$(LDFLAGS
) $(OBJ
) $(LIBS
)
29 # clean up local files
31 rm -f
$(SERVER
) *.o
*.bak
34 mkdep
"$(CC) -E $(CPPFLAGS)" *.c
> .depend
36 # Include generated dependencies.