CC = gcc
CFLAGS = -g -Wall -ansi -pedantic

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

#install: gethost
#	cp gethost /usr/local/bin && chmod 755 /usr/local/bin/gethost
# ## need to install man too

clean:
	-rm -f *.o *.a *core gethost
