# 
# makefile for pong program
#

CFLAGS = -g
LIBFLAGS = -lncurses

all: pong

pong: pong.c 
	gcc $(CFLAGS) pong.c shm.o -o pong $(LIBFLAGS)

shm.o: shm.c shm.h
	gcc -c shm.c

clean:
	/bin/rm -rf *.o core pong

