LIB = 

CC = gcc
FLAG1 = -o $@ $(LIB)
FLAG2 = -o $@ -g $(LIB)

## Normal Execution Version
all: peer

peer: peer.c sockcomm.c
	$(CC) $(FLAG1) peer.c sockcomm.c

## Debugging Version
all.db: peer.db

peer.db: peer.c sockcomm.c
	$(CC) $(FLAG2) peer.c sockcomm.c

## Clean
clean:
	rm peer peer.db
