
# Edit the following three options to set your compiler and link flags

CC = gcc
CFLAGS = -O3 
LIBS = 

# Shouldn't need to edit anything below
OBJS = catdcd.o dcdreader.o readdcd.o 

BINS = catdcd

all: $(BINS)

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

catdcd: $(OBJS)
	$(CC) $(OBJS) -o catdcd $(LIBS)
 
clean:
	rm -f $(OBJS) $(BINS)
