summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2009-03-18 20:52:11 +0100
committerGravatar Martin Szulecki2009-03-18 20:52:11 +0100
commit9c1ded3b0ae8e540177ee0c0baa1f9c8fcf91989 (patch)
tree38aa36327c9e3c0fef1ef7ee77c707d987aff9d0 /Makefile
downloadwiiwadtools-9c1ded3b0ae8e540177ee0c0baa1f9c8fcf91989.tar.gz
wiiwadtools-9c1ded3b0ae8e540177ee0c0baa1f9c8fcf91989.tar.bz2
Initial commit of sources
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..5090652
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,12 @@
+CC=gcc
+CFLAGS=-g -O2 -Wall
+LIBS=-lcrypto
+TARGET=wii-wad-tool
+OBJECTS=main.o types.o patcher.o wii_tmd.o wii_wad.o wii_tik.o crypto.o ucs.o
+HEADERS=types.h patcher.h wii_tmd.h wii_wad.h wii_imet.h wii_tik.h crypto.h ucs.h
+
+$(TARGET): $(OBJECTS) $(HEADERS)
+ $(CC) -o $@ $^ $(CFLAGS) $(LIBS)
+
+clean:
+ rm -rf $(OBJECTS) $(TARGET)