CC = gcc 
DEBUG = -g

LIBS = -lm 

.o:.c

rtg: rtg.o event.o
	$(CC) -o $@ rtg.o event.o $(LIBS)

rtg.o: rtg.c
	$(CC) $(DEBUG) -c rtg.c event.c

xrtg.o: xrtg.h
