aboutsummaryrefslogtreecommitdiff
path: root/mkfs.md/Makefile
diff options
context:
space:
mode:
authorMatias Linares <matiaslina@opmbx.org>2015-04-26 21:43:42 -0300
committerMatias Linares <matiaslina@opmbx.org>2015-04-26 21:43:42 -0300
commit2dd5cf430edaae01594d566c9f27d780c3ffb4ef (patch)
tree13111bc82a73e951d5d7c07865a206c025d15529 /mkfs.md/Makefile
downloadmedianinfs-2dd5cf430edaae01594d566c9f27d780c3ffb4ef.tar.gz
Initial commit
Diffstat (limited to 'mkfs.md/Makefile')
-rw-r--r--mkfs.md/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/mkfs.md/Makefile b/mkfs.md/Makefile
new file mode 100644
index 0000000..e91a5e5
--- /dev/null
+++ b/mkfs.md/Makefile
@@ -0,0 +1,14 @@
+FILES=mkfs.c
+TARGET=mkfs.md
+CFLAGS=-Wall -Werror -Wextra -g
+
+all: $(FILES)
+ clang $(CFLAGS) -o $(TARGET) $(FILES)
+
+with-inode: $(FILES)
+ clang $(CFLAGS) -D_HAS_TRACKED_INODE -o $(TARGET) $(FILES)
+
+clean:
+ rm -f $(TARGET) *.o
+
+.PHONY: clean