source: trunk/minix/servers/fs/Makefile@ 9

Last change on this file since 9 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 729 bytes
Line 
1# Makefile for File System (FS)
2SERVER = fs
3
4# directories
5u = /usr
6i = $u/include
7s = $i/sys
8h = $i/minix
9
10# programs, flags, etc.
11CC = exec cc
12CFLAGS = -I$i $(EXTRA_OPTS)
13LDFLAGS = -i
14LIBS = -lsys -lsysutil -ltimers
15
16OBJ = main.o open.o read.o write.o pipe.o dmap.o \
17 device.o path.o mount.o link.o super.o inode.o \
18 cache.o cache2.o filedes.o stadir.o protect.o time.o \
19 lock.o misc.o utility.o select.o timers.o table.o
20
21# build local binary
22install all build: $(SERVER)
23$(SERVER): $(OBJ)
24 $(CC) -o $@ $(LDFLAGS) $(OBJ) $(LIBS)
25 install -S 512w $@
26
27# clean up local files
28clean:
29 rm -f $(SERVER) *.o *.bak
30
31depend:
32 /usr/bin/mkdep "$(CC) -E $(CPPFLAGS)" *.c > .depend
33
34# Include generated dependencies.
35include .depend
Note: See TracBrowser for help on using the repository browser.