yaffs Fixed some bugs in direct/timothy_tests/mirror_tests
[yaffs2.git] / mtdemul / Makefile
1 #Makefile for NANDemul MTD
2 #
3 # NB this is not yet suitable for putting into the kernel tree.
4 # YAFFS: Yet another Flash File System. A NAND-flash specific file system. 
5 #
6 # Copyright (C) 2002 Aleph One Ltd.
7 #   for Toby Churchill Ltd and Brightstar Engineering
8 #
9 # Created by Charles Manning <charles@aleph1.co.uk>
10 #
11 # This program is free software; you can redistribute it and/or modify
12 # it under the terms of the GNU General Public License version 2 as
13 # published by the Free Software Foundation.
14
15 ## Change or override  KERNELDIR to your kernel
16 ## comment out USE_xxxx if you don't want these features.
17
18 KERNELDIR = /opt/linux-source-2.6.24
19
20 #CFLAGS = -D__KERNEL__ -DMODULE   -I$(KERNELDIR)/include -O2 -Wall -g
21 CFLAGS = -D__KERNEL__ -DMODULE   -I$(KERNELDIR)/include -O2 -Wall -g
22
23
24
25 TARGET = nandemul2k.o
26
27 default: $(TARGET)
28
29 clean:
30         rm -f $(TARGET)
31
32 $(TARGET): %.o: %.c
33         gcc -c $(CFLAGS) $< -o $@
34