# Be very afraid, a Makefile even!
# For wuftpd 2.4 signal vulnerability

CC = gcc
#CC = cc

CFLAGS  = -Wall # Because we shouldn't get any warnings at all
#CFLAGS = -g

#What you want it to be called when it's compiled
PROGNAME = wuftpd

#Source to the program
SRC = wuftpd.c port.c

#---------------------------------

all: wuftpd

wuftpd: $(SRC) 
	@echo Wuftpd 2.4 signal sploit w/ muh very 0wn ftp client!
	$(CC) $(CFLAGS) -o $(PROGNAME) $(SRC)
	@echo File was saved as $(PROGNAME)
	@strip $(PROGNAME)
