summaryrefslogtreecommitdiff
path: root/utils/nwztools/emmctools/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'utils/nwztools/emmctools/Makefile')
-rw-r--r--utils/nwztools/emmctools/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/utils/nwztools/emmctools/Makefile b/utils/nwztools/emmctools/Makefile
new file mode 100644
index 0000000000..953757fdab
--- /dev/null
+++ b/utils/nwztools/emmctools/Makefile
@@ -0,0 +1,20 @@
1DEFINES=
2CC=gcc
3LD=gcc
4CFLAGS=-g -std=c99 -W -Wall $(DEFINES)
5LDFLAGS=
6BINS=emmctool
7
8all: $(BINS)
9
10%.o: %.c
11 $(CC) $(CFLAGS) -c -o $@ $<
12
13emmctool: emmctool.o misc.o nvp.o
14 $(LD) -o $@ $^ $(LDFLAGS)
15
16clean:
17 rm -fr *.o
18
19veryclean:
20 rm -rf $(BINS)