summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 50906528dfe904184062543c01776cf7c540d6ed (plain)
1
2
3
4
5
6
7
8
9
10
11
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)