# w00aimexp
# Copyright (C) 2001-2002, Matt Conover & w00w00
# http://www.w00w00.org
#
# Matt Conover (shok@dataforce.net)

CC = gcc
RM = rm -f

# Options:
# -DUSE_FULL_SIZE (use if your shellcode is larger than 1701 bytes)
# -DDEBUG (if you want to see the internals of w00aimexp)
# -DDEBUG_LIBFAIM (if you want to see the internals of libfaim)
CFLAGS = -I/usr/local/include/faim -DDEBUG

PROGNAME = w00aimexp
OBJS = w00aimexp.o login.o

all: $(OBJS)
	$(CC) -o $(PROGNAME) $(OBJS) -lfaim

.c.o:
	$(CC) $(CFLAGS) -c $<

clean:
	$(RM) $(PROGNAME) *.o
