########################################################
# Dr. Zoppetti: Generic Makefile
#   In many cases you will ONLY need to modify the
#   SRCS variable below
########################################################

########################################################
# Variable definitions
########################################################
# C++ compiler
CXX      = g++

# C++ compiler flags
#CXXFLAGS = -g -Wall -std=c++11
CXXFLAGS = -O3 -Wall -std=c++14

# Linker; for C++ should be $(CXX)
LINK     := $(CXX)

# Linker flags
LDFLAGS  := 

# Libraries we're using, prefaced with "-l"
LDLIBS   := 

#############################################################
# Rules
#   Rules have the form
#   target : prerequisites
#   	  recipe
#############################################################

RadixSort : RadixSort.o 
	$(LINK) $(LDFLAGS) $^ $(LDLIBS) -o $@

RadixSort.o : RadixSort.cc Timer.hpp

#############################################################

clean :
	@$(RM) RadixSort a.out core
	@$(RM) *.o
	@$(RM) *.d
	@$(RM) *~ 

#############################################################
