
# Add inputs and outputs from these tool invocations to the build variables 
CC_SRCS += \
$(ROOT)/bravais_lattice/BravaisLattice.cc \
$(ROOT)/bravais_lattice/bravais_lat.cc \

OBJS += \
object/bravais_lattice/BravaisLattice.o \
object/bravais_lattice/bravais_lat.o \

DEPS += \
${addprefix object/bravais_lattice/, \
BravaisLattice.d \
bravais_lat.d \
}


# Each subdirectory must supply rules for building sources it contributes
object/bravais_lattice/%.o: $(ROOT)/bravais_lattice/%.cc
	@echo 'Building file: $<'
	@echo 'Invoking: GCC C++ Compiler'
	@echo g++ $(CXXFLAGS) -o$@ $<
	@g++ $(CXXFLAGS) -o$@ $< && \
	echo -n $(@:%.o=%.d) $(dir $@) > $(@:%.o=%.d) && \
	g++ $(PREFLAGS) $(CXXFLAGS) $< >> $(@:%.o=%.d)
	@echo 'Finished building: $<'
	@echo ' '


