* added 0.99 linux version
[mascara-docs.git] / i386 / linux / linux-0.99 / fs / msdos / Makefile
blob820ec4356b9603083fb97f7d5fe217ae4ae8466f
2 # Makefile for the linux MS-DOS-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= namei.o inode.o file.o dir.o misc.o fat.o
19 msdos.o: $(OBJS)
20 $(LD) -r -o msdos.o $(OBJS)
22 dep:
23 $(CPP) -M *.c > .depend
26 # include a dependency file if one exists
28 ifeq (.depend,$(wildcard .depend))
29 include .depend
30 endif