2 # Makefile for the linux Journalling Flash FileSystem (JFFS) routines.
4 # $Id: Makefile,v 1.7 2000/08/04 12:46:34 dwmw2 Exp $
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).
10 # Note 2! The CFLAGS definitions are now in the main makefile...
14 # We're being invoked outside a normal kernel build. Fake it
15 EXTRA_CFLAGS
= -I
$(shell pwd
)/..
/..
/include
17 # You need to change this to build for 2.2, dunno how to check for it.
19 #INODE_O := inode-v22.o
20 INODE_O
:= inode-v23.o
24 ifeq ($(PATCHLEVEL
),2)
25 INODE_O
:= inode-v22.o
27 INODE_O
:= inode-v23.o
34 O_OBJS
:= jffs_fm.o intrep.o
$(INODE_O
)
36 include $(TOPDIR
)/Rules.make