CC=gcc

all: config.h
	# 
	# Choose mode:
	#
	#  'make config' to configure this shitty warez
	#  'make icmp' to compile prog with icmp-ech0 tunneling mode
	#  'make dns' to compile prog with dns tunnelng mode
	#

config:	
	./configure

icmp: freeway_bbs.c freeway_bbs.h
	${CC} -o freeway -D_ICMP_ECHO freeway_bbs.c

dns: freeway_bbs.c freeway_bbs.h
	${CC} -o freeway -D_DNS freeway_bbs.c

debug: freeway_bbs.c freeway_bbs.h
	${CC} -o freeway -D_DEBUG -D_ICMP_ECHO freeway_bbs.c

