aboutsummaryrefslogtreecommitdiffstats
path: root/tools/padjffs2/src/Makefile
diff options
context:
space:
mode:
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 0000000..45da8e5
--- /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) $(LDFLAGS) -o $@ $(padjffs2-objs)
+
+clean:
+ rm -f padjffs2 *.o