# By default, the code is compiled for a "big endian" machine.
# To compile on a "little endian" machine set the LITTLE_ENDIAN flag.
# To make smaller object code, but run a little slower, don't use UNROLL_LOOPS.
# To use NIST's modified SHA of 7/11/94, define USE_MODIFIED_SHA

CC = $(INSTRU_TOOL)
CFLAGS = -Wall

all: sha

sha:	sha_driver.o sha.o $(ASPECT_FILES_O)
	$(CC) -o $@ sha_driver.o sha.o $(ASPECT_FILES_O) $(LIBACC)
	strip $@

%.o: %.c
	$(CC) -Dinline= -c $^

clean:
	rm -rf *.o sha output*
