# w00aimexp
# Copyright (C) 2001-2002, w00w00
# http://www.w00w00.org

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)

#Use this if you built your own library
#CFLAGS = -I/usr/include/libfaim -I/usr/local/include/libfaim -DDEBUG
#LIBFLAGS = -L/usr/lib -L/usr/local/lib

CFLAGS = -Iincludes -DDEBUG
LIBFLAGS = -Llibs

PROGNAME = w00aimexp2
OBJS = w00aimexp2.o login.o

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

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

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