#
# comments start with a # sign
#
# each item in the make file consists of
# three things:  a product, its ingredients and how to make it
#
# gcc -o test test.c -lcurses


CC = gcc -g -Wall
        
wsng: wsng.o varlib.o socklib.o
	$(CC) wsng.o socklib.o varlib.o -o wsng
        
wsng.o: wsng.c wsng.h
	$(CC) -c wsng.c

varlib.o: varlib.c varlib.h
	$(CC) -c varlib.c
        
socklib.o: socklib.c socklib.h
	$(CC) -c socklib.c
