Fixed extern declaration from pointer to array
[minix.git] / servers / vfs / Makefile
blob18d983ce69c701abf3f34dc453464b8de070d75d
1 # Makefile for File System (FS)
2 SERVER = vfs
4 # directories
5 u = /usr
6 i = $u/include
7 s = $i/sys
8 h = $i/minix
10 # programs, flags, etc.
11 CC = exec cc
12 CFLAGS = -I$i $(EXTRA_OPTS) $(CPROFILE)
13 LDFLAGS = -i
14 LIBS = -lsys -ltimers
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
22 # build local binary
23 install all build: $(SERVER)
25 $(SERVER): $(OBJ)
26 $(CC) -o $@ $(LDFLAGS) $(OBJ) $(LIBS)
27 install -S 16k $@
29 # clean up local files
30 clean:
31 rm -f $(SERVER) *.o *.bak
33 depend:
34 mkdep "$(CC) -E $(CPPFLAGS)" *.c > .depend
36 # Include generated dependencies.
37 include .depend