* added 0.99 linux version
[mascara-docs.git] / i386 / linux / linux-0.99 / fs / minix / Makefile
blob20e7f3daee9382ae80278ba8c6433e5cec805459
2 # Makefile for the linux minix-filesystem routines.
4 # Note! Dependencies are done automagically by 'make dep', which also
5 # removes any old dependencies. DON'T put your own dependencies here
6 # unless it's something special (ie not a .c file).
8 # Note 2! The CFLAGS definitions are now in the main makefile...
10 .c.s:
11 $(CC) $(CFLAGS) -S $<
12 .c.o:
13 $(CC) $(CFLAGS) -c $<
14 .s.o:
15 $(AS) -o $*.o $<
17 OBJS= bitmap.o truncate.o namei.o inode.o \
18 file.o dir.o symlink.o fsync.o
20 minix.o: $(OBJS)
21 $(LD) -r -o minix.o $(OBJS)
23 dep:
24 $(CPP) -M *.c > .depend
27 # include a dependency file if one exists
29 ifeq (.depend,$(wildcard .depend))
30 include .depend
31 endif