Fixed extern declaration from pointer to array
[minix.git] / servers / iso9660fs / Makefile
blob35aff9ddc5727c8af3c638d7a0363367d7eb8af2
1 # Makefile for ISO9660 fs
2 SERVER = isofs
3 NR_BUFS = 100
5 # directories
6 u = /usr
7 i = $u/include
8 s = $i/sys
9 h = $i/minix
11 # programs, flags, etc.
12 CC = exec cc
13 CFLAGS = -I$i $(EXTRA_OPTS) $(CPROFILE) -DNR_BUFS=$(NR_BUFS)
14 LDFLAGS = -i
15 LIBS = -lsys -ltimers
17 OBJ = main.o table.o mount.o super.o inode.o device.o \
18 utility.o misc.o path.o read.o stadir.o cache.o
20 # build local binary
21 all build: $(SERVER)
22 $(SERVER): $(OBJ)
23 $(CC) -o $@ $(LDFLAGS) $(OBJ) $(LIBS)
24 install -S 64k $(SERVER)
26 install: $(SERVER)
27 install $(SERVER) /sbin/$(SERVER)
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