CFLAGS+=-Wall -O6 -fomit-frame-pointer -funroll-all-loops
.c.o:
	gcc $(CFLAGS) -c $<

all:	efs
aes.o:	aes.c aes.h
sha256.o: sha256.c sha256.h
getpw.o: getpw.c getpw.h
efs:	efs.c aes.o sha256.o getpw.o
	gcc $(CFLAGS) efs.c aes.o sha256.o getpw.o -o efs
install:efs
	cp -f efs /bin/efs
	@echo Make /bin/efs setuid root if you want other users to mount their encrypted dirs.
clean:
	rm -f core efs *.o
