aboutsummaryrefslogtreecommitdiffstats
path: root/tools/padjffs2/src/Makefile
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-07-02 08:37:56 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-07-02 08:37:56 +0000
commit7ce98c60011f7da5cbfa26187412c44545fa12d3 (patch)
treef2b6b94c0e38b43d3e04b9754aa07524ba522a80 /tools/padjffs2/src/Makefile
parentea8440f4c347dd349eaefb16a57c6dd458e45394 (diff)
downloadupstream-7ce98c60011f7da5cbfa26187412c44545fa12d3.tar.gz
upstream-7ce98c60011f7da5cbfa26187412c44545fa12d3.tar.bz2
upstream-7ce98c60011f7da5cbfa26187412c44545fa12d3.zip
tools: create a new tool for more efficient jffs2 padding
SVN-Revision: 27355
Diffstat (limited to 'tools/padjffs2/src/Makefile')
-rw-r--r--tools/padjffs2/src/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/padjffs2/src/Makefile b/tools/padjffs2/src/Makefile
new file mode 100644
index 0000000000..fe1a7aa628
--- /dev/null
+++ b/tools/padjffs2/src/Makefile
@@ -0,0 +1,15 @@
+CC = gcc
+CFLAGS =
+WFLAGS = -Wall -Werror
+padjffs2-objs = padjffs2.o
+
+all: padjffs2
+
+%.o: %.c
+ $(CC) $(CFLAGS) $(WFLAGS) -c -o $@ $<
+
+padjffs2: $(padjffs2-objs)
+ $(CC) -o $@ $(padjffs2-objs)
+
+clean:
+ rm -f padjffs2 *.o