# Makefile for l0phtcrack - mudge@l0pht.com 11/1/96

# C compiler
#CC=cc
CC=gcc

# Uncomment the following to add symbols to the code for debugging
#DEBUG=
DEBUG=-g -DDEBUG

# Optimization for the compiler
#OPTIMIZE=
OPTIMIZE=-O2

# Choose your architecture
#  note that if you are on a big-endian machine like SUN's
#  I haven't tweaked the mem-cmp's and md4 stuff to be in 
#  the correct order yet. You're on your own right now.
#
# X86
ARCH=-DMPU8086
STATIC=
XLIBS=
#

CFLAGS= $(DEBUG) $(OPTIMIZE) $(ARCH) $(VISUAL) $(PERMUTE) $(STATIC) 

OBJS = des_enc.o ecb_enc.o llist.o md4.o util.o ztest.o set_key.o

lc:	$(OBJS)
	$(CC) $(CFLAGS) $(XLIBS) -o lc_CLI $(OBJS)

clean:
	rm -f core *.o lc_CLI

