#-----------------------------------------------------------------------
# Change the following lines according to your compiler options
#-----------------------------------------------------------------------

CC=gcc
DEBUG_FLAGS=-g
OPTIMIZATION=-O2

# for gcc, -Wall turns all the warnings on
OTHER_FLAGS=-Wall

CFLAGS= $(OPTIMIZATION) $(DEBUG_FLAGS)  $(OTHER_FLAGS) 

#-----------------------------------------------------------------------
# The following lines should not be changed
#-----------------------------------------------------------------------

clean: 
	rm -f bin/*

all: generate_input_file calculate_B automorphisms_filter calculate_associated_graph process_output_isomorphism_test

generate_input_file: 
	$(CC) -o bin/generate_input_file sources/generate_input_file.c

calculate_B: 
	$(CC) -o bin/calculate_B sources/calculate_B.c

automorphisms_filter: 
	$(CC) -o bin/automorphisms_filter sources/automorphisms_filter.c

calculate_associated_graph: 
	$(CC) -o bin/calculate_associated_graph sources/calculate_associated_graph.c

process_output_isomorphism_test: 
	$(CC) -o bin/process_output_isomorphism_test sources/process_output_isomorphism_test.c


