1#
2# Makefile for the linux Journalling Flash FileSystem (JFFS) routines.
3#
4# $Id: Makefile,v 1.11 2001/09/25 20:59:41 dwmw2 Exp $
5#
6# Note! Dependencies are done automagically by 'make dep', which also
7# removes any old dependencies. DON'T put your own dependencies here
8# unless it's something special (ie not a .c file).
9#
10# Note 2! The CFLAGS definitions are now in the main makefile...
11
12list-multi := jffs.o
13
14jffs-objs := jffs_fm.o intrep.o
15
16ifeq ($(PATCHLEVEL),2)
17	jffs-objs += inode-v22.o
18else
19	jffs-objs += inode-v23.o
20endif
21
22ifeq ($(CONFIG_JFFS_PROC_FS),y)
23	jffs-objs += jffs_proc.o
24endif
25
26O_TARGET := jffs.o
27
28obj-y := $(jffs-objs)
29obj-m := $(O_TARGET)
30
31include $(TOPDIR)/Rules.make
32
33