summaryrefslogtreecommitdiffstats
path: root/tools/padjffs2/src/Makefile
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-07-02 08:37:56 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-07-02 08:37:56 +0000
commit4e856be747e4c6d01e8b3cca7ecfcf4daed28e27 (patch)
tree837adea3e7d82c8b02cae5a48d799b17ea0c999f /tools/padjffs2/src/Makefile
parent0060110094ceafb7f647058d2de16861a9f24962 (diff)
tools: create a new tool for more efficient jffs2 padding
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27355 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 000000000..fe1a7aa62
--- /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