summaryrefslogtreecommitdiff
path: root/tools/Makefile
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2011-01-29 18:34:54 -0800
committerPixel <pixel@nobis-crew.org>2011-01-29 18:34:54 -0800
commitea49b5b3f435bce0a301111fad0738efb0b39e0d (patch)
treeaa595cc250514f5225f624d2e691e144c740c567 /tools/Makefile
parent7182d70210f4880e66ae9e5a5531bddd3a90737b (diff)
Adding some romfs support.
Diffstat (limited to 'tools/Makefile')
-rw-r--r--tools/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/Makefile b/tools/Makefile
new file mode 100644
index 0000000..65ff73f
--- /dev/null
+++ b/tools/Makefile
@@ -0,0 +1,15 @@
+CC = gcc
+LD = gcc
+CPPFLAGS = -O3
+
+TARGETS = mkromfs
+MKROMFS_SRCS = mkromfs.c
+MKROMFS_OBJS = $(addsuffix .o, $(basename $(MKROMFS_SRCS)))
+
+all: $(TARGETS)
+
+mkromfs: $(MKROMFS_OBJS)
+ $(LD) -o mkromfs $(MKROMFS_OBJS)
+
+clean:
+ rm -rf $(MKROMFS_OBJS) $(TARGETS)