# Use to compile everything:
# make `ls | grep .c | sed s/.c//g | xargs`

CC=cc
CFLAGS=-Wall -O2
LIBS=-L$(HOME)/lib -lrw

showrwtree: showrwtree.c
	$(CC) $(CFLAGS) $(LIBS) $> -o $@
.c:
	$(CC) $(CFLAGS) $@.c -o $@

clean:
	rm -rf dumprwsection dumptexdata nativedata tga2raw imgex imgexsa\
		showrwtree
