- Linus: drop support for old-style Makefiles entirely. Big.
[davej-history.git] / fs / jffs / Makefile
blob29bc24d6fcb6c501cd07132f54611b68e441dfca
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...
12 ifndef CONFIG_JFFS_FS
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
22 else
24 ifeq ($(PATCHLEVEL),2)
25 INODE_O := inode-v22.o
26 else
27 INODE_O := inode-v23.o
28 endif
30 endif
32 O_TARGET := jffs.o
33 obj-m := $(O_TARGET)
34 obj-y := jffs_fm.o intrep.o $(INODE_O)
36 include $(TOPDIR)/Rules.make