# Internet Junkbuster makefile

CC=gcc
LINK=gcc
CFLAGS=-Wall -mthrowback -DREGEX -DSTDC_HEADERS -DHAVE_STRING

OBJS =	jcc.o parsers.o filters.o loaders.o bind.o conn.o \
	encode.o ssplit.o socks4.o acl.o gnu_regex.o win32.o

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

junkbuster: $(OBJS)
	$(CC) $(CFLAGS) -o junkbuster $(OBJS) $(LDFLAGS)
	ifthere run:squeeze then squeeze junkbuster

clean:
	-wipe o.* ~CFR~V
	-wipe junkbuster ~CFR~V
