CC=gcc
CFLAGS=-O2
PROGS=http_get

# SunOS 4.1.3
# LIBS=-lnsl

# Solaris 2.6
LIBS=-lnsl -lsocket -lresolv

# Linux
#IBS=

all:		$(PROGS)

http_get:	http_get.o $(INET_ATON)
		$(CC) -o http_get http_get.o $(INET_ATON) $(LIBS)
		strip http_get

clean:
		rm -f *~ *.o core
		rm -f $(PROGS)
